Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting value from a table opened in a different DS
Message
De
10/03/2010 09:58:20
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01453599
Message ID:
01453726
Vues:
58
naomi,
that cursor in the form. The current code uses
>
>set datasession to 1
>
>...
>
>then restores the datasession using saved transform of the set('datasessionID')
>
>set datasession to &lcOldDS
>
>I think it's not a very good code and looking for alternative methods.

If the cursor is opened anyhow on the app object,
methods to query it should be on the app object.

Or, to be more exact, they should be on the object creating the cursor.
For application services it often makes sense to open some tables only once
and not again in every form - but then the service should be intelligent to query this table.

my 0.02 EUR

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform