How to load file content into list in the middle of project?

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
I am building a project that needs to read a txt file into a list many times during the day.
However, this txt file is constantly updated by another program.

How to load file content to a list after the initialization?


Thanks.
 
Последнее редактирование:

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
I suggest to copy file to another location via File action
And then bind it to list with List processing - Bind to file action.
 

surfmore

Client
Регистрация
08.09.2011
Сообщения
138
Благодарностей
7
Баллы
18
i think it is bind to file as they answered in another question. But i didnt test yet.
 

Cyrix

Client
Регистрация
16.12.2011
Сообщения
390
Благодарностей
11
Баллы
18
[Quote = "rostonix, post: 86960, member: 2715"] I suggest to copy file to another location via File action
And then bind it to list with List processing - Bind to file action. [/ Quote]


Why do we need to copy file to another location? If only use bind to list without copying file to another location will it cause any problem?
Thanks.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Maybe. Try it)
If you just load data and do not change it via ZP, maybe everything will be fine)
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)