FileGlobals are fine but -as I read from a previous post- after each execution that changes them, the file itself is modified, which is not very desirable for me.
So there is a run-time copy and a static copy. Run-time copy is generated from the static copy at the beginning of an execution, and at the end, the (probably modifed) run-time values are written back to the static copy, which resides on the hard drive. Therefore file is overwritten and its date and time properties (in Windows) are modified.
Can't we still have some variables that :
- are initialized to the values assigned in the editor at the beginning of an execution,
- are available throughout the execution,
- are simply discarded at the end of the execution (after the report is generated for example), and
- are not carried to the next execution (cleans its own mess)
Actually, the only thing we need to do to have a clean start is to initialize them at the beginning and that is not much of a big problem, I can live with that.
But my major concern is the file being modified.
S. Eren BALCI
IMESTEK