>Hi everybody,
>
>Just noticed a strange effect. I have an application, called Repoter, which is called to produce a report (actual reports or copy to options). Today I added in Init expression producing a file, then deleting this file, e.g.
>Report Form MTDReport to file dummy.txt noconsole
>erase "dummy.txt"
>This is done in Reporter.Init (through Metafile.InitExp).
>Then I show this report on a screen by using Report Form MtdReport Preview.
>After I hit Quit button on Report Preview and return to the form, I notice, that several controls are missing. BTW, I think, Reporter uses default DS (it's not my application, so I'm not sure).
>
>My question is: why does it happen and what can I do to avoid this undesired behavior?
Which time I answer my own question? :) Ok, seems like NOCONSOLE was the culrpit. I forgot it first time and then perhaps used the previous version of the program. After re-compiling the program, all works fine now.
Thanks to everyone, who were going to help :)
If it's not broken, fix it until it is.
My Blog