General information
Category:
The Mere Mortals Framework
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only