Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CSelect
Message
From
17/08/1999 13:08:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
CSelect
Miscellaneous
Thread ID:
00254550
Message ID:
00254550
Views:
63
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?
Next
Reply
Map
View

Click here to load this message in the networking platform