Updating Objects Values 追蹤
I'm new to BT, but i worked a bit with it and managed to create some nice layouts.
Since there is no way to create a Header/detail layout yet, I created mine.
I read a text file, generated by another software, and import it in a out of page (not printed) object. then i read it and set the values of the objects.
This initial object that contains the file's data is a VBScript type. My script reads the file and set the value of itself.
Then i have another script in one of the objects on the page that fills the values.
Works, but i have some issues...
Infact, if i print the page, the values are not immediately updated from the file. Means, i have the values in the file only the second time I print, the first time I print I have the old values.
I have to say i normally use print preview, but i tested also with normal print and seems the same behavior.
Any idea on how i could force the data on the page to be refreshed?
The text file should be renamed .old as i plan to use commander to trigger the printout. The .old should reside in C:\temp.