Table bind to file - Whats that for?

convict29

Пользователь
Регистрация
10.07.2014
Сообщения
114
Благодарностей
3
Баллы
18
Hello,
where can i find some information on the usage of "Bind to file" option?
What i want to know is when do you use this option and why is necessary to use it?
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
When you want to bind file to project table...
When you want to use one table in project but operate with more than one file...
When you want to use variables in file path...

Those are some main things what is in my head now
 

convict29

Пользователь
Регистрация
10.07.2014
Сообщения
114
Благодарностей
3
Баллы
18
Hmm... but everything seems to work normal without the use of "Bind to file":
1. Project is reading the table even if i don't bind to file, should i use bind to file no matter what?
2. I dont get this one.
3. Again, i use variables in file path without using "bind to file" anywhere in the project and seem to work normal.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
It shouldnt work stable with variables in path.
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
@convict29 Sure it works fine loading a list/table while reading the data.
What happens is that you load the list into your project and the project creates a catch of that data, which you can process however you want, in that instance of running the template.
The problem is when you want to interact with the actual file instead. That's why you bind it. So you make those changes (add/read/delete line) into the text file you loaded the data from instead.
Which makes it possible to multithread and also to continue from where you left off next time you're running the template, instead of reloading it and start from the beginning again.
 

convict29

Пользователь
Регистрация
10.07.2014
Сообщения
114
Благодарностей
3
Баллы
18
Alright thanks all for your help, so is good to use the "Bind to file" every time i use tables in the project and/or file path with variable.
The part that got me confused is that it works even if i don't bind to file.

I use inputs and insert c:\folder\table.xlsx, this is adding it to variable1.
This variable1 is the file path to "c:\folder\table.xlsx".
I use get line action from the table with settings >>>load from file+save changes of table to file, where the file path is variable1 take columns and add them to variables.

All this works without any problems even in multithread.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
I got your point. Your variable is constant before project starts. It will work in this case.
 

convict29

Пользователь
Регистрация
10.07.2014
Сообщения
114
Благодарностей
3
Баллы
18
Nice :D cool thanks .

I always wanted to ask you, is that you in your avatar?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
it's cam gigandet :D
 

convict29

Пользователь
Регистрация
10.07.2014
Сообщения
114
Благодарностей
3
Баллы
18
hahaha you almost got me!
 

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