Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help w/ reloading environment
Message
 
À
18/06/2001 14:51:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00520719
Message ID:
00521738
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
It looks like your CloseTables() isn't taking effect. Can you check to see if all tables have been closed? And are there any differences between this report and those which work? Check that you are using private datasessions in both etc.

A question: Why do you use this technique? Have you found benefits that I'm unaware of? I've found (this is purely a personal preference) that report cursors that are developed by the calling program and then used by a report with a default datasession with no tables and also no code in the INIT or other methods/events works very smoothly and is easier to keep updated. Code in a report DataEnvironment or INIT() is difficult to find for a programmer new to a project.

Barbara

>I have a report built with the report wizard. In the data environment.init I have the following code:
>
>
this.closetables
>this.cursor1="mytable1"
>this.cursor2="mytable2"
>this.opentables
>
>When I run this report I get the following message:
>Property setting will not take effect until data environment reloaded.
>
>I have the same snippet in other reports and don't get this message. Any help would be appreciated.
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform