Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Environment vs Data Session
Message
De
21/08/1997 06:58:37
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
 
 
À
20/08/1997 17:37:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00045878
Message ID:
00046076
Vues:
42
>Matt,
>
>I take it then that there is only one data session per form.
Yes, and no. You can only have as many data sessions as the number of active forms. but so long as DataSession = 2, any form can access any other form's datasession

>
>When you speak of multiple forms accessing the same file with the same
>alias not seeing each other, are you speaking about multiple instances of
>the app or a single app with multiple instances of the form? Or both?
>
FP has always been able to do this with multiple apps. Now VFP can do this with multiple forms

>
>If I'm correct about one data session per form, what is the purpose of
>being able to have a default or a private data session? If you can have
>multiple data sessions per form, is there a limit to how many you can have?
>(Theoretical limit if not an absolute one)

The default is the *main* data session. I use it as the primary datasession, where the *majority* of the work is done. I use private DS's for lookups, table updates, etc.

HTH
Matt McDonnell
...building a better mousetrap with moldy cheese...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform