Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET DATA SESSION lost cursor
Message
 
À
11/02/1997 13:39:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00019939
Message ID:
00020125
Vues:
42
>>I think your problems will come when you SET DATASESSION TO and the table you have as your grid's source is not open in that datasession.
>
>Yes, this would make sense.
>
>Here's again the operation steps.
>
>1. In the Init() of my form I do ThisForm.DataEnvironment.OpenTables()
>2. I then CREATE CURSOR USERCRIT...
>3. Assign USERCRIT alias to my grid
>4. Assign USERCRIT fields to my grid's fields
>5. Everything is ok, I see my grids will all the fields and am able to add records to it
>6. I click the button to start my report
>7. lnDataSession=ThisForm.DataSessionId
>8. SET DATA SESSION TO anotherdatasession
>9. This is where my grid becomes blank

Michel: Have you tried changing the datasession in the report, which could be set to private datasession? Or calling an intermediate (perhaps modal) form with its own datasession. If you left the form with the grid, then any Datasession changes wouldn't affect it.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform