Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing a free table in Private Data Session
Message
De
31/08/1997 04:33:22
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
29/08/1997 12:28:07
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00047219
Message ID:
00047837
Vues:
34
> Set ORDER() of course sets the order to "" not Actnum, the GOTO moves the > record pointer to the added record in the Default Data Session, but remains > on another record in the Private Data session. It's almost like any > movement of the record pointer by a method outside of the form effects the > Default Data Session, even thought the method was called from within a > form with a Private Data Session. What do you think? Ed, what do you think if you added a second parameter, the datasession ID, like this LPARAMETERS lcTable, lnDSID PRIVATE oldOrder if !empt(lnDSID) set datasession to lnDSID endif SELECT &lcTable that way you force the datasession to the form's datasession, and override the default behavior. Moreover, the routine may still be used from outside any form, just as before, by leaving out the lnDSID.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform