Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CSelect
Message
De
17/08/1999 13:08:44
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
CSelect
Divers
Thread ID:
00254550
Message ID:
00254550
Vues:
64
Kevin,

I have a simple question about the cSelect class. Lets say I have a custom method in a bizobj that scans a lookup table and does inserts into my alias. How would the code look?
Example:

loLookup = CREATEOBJ('cSelect', 'v_lookup')
SCAN
IF SOMETHING
loAlias = CREATEOBJ('cSelect', This.GetAlias())
Replace ...
Endif
loLookup = CREATEOBJ('cSelect', 'v_lookup')
ENDSCAN

Is it best to not create loLookup again and just select the named alias? I normally just select the alias, but there are times when I want to be sure my bizobj restores the previously selected alias. Saving the alias and restoring it later is a tried and true procedural approach, but what do your recommend?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform