Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Preview - when closed, some form controls disappe
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00460623
Message ID:
00460629
Vues:
10
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform