Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why is Optimization 'Partial'
Message
From
08/10/1997 11:18:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
03/10/1997 01:54:34
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00052442
Message ID:
00053705
Views:
40
>>>Then I guess that it would be the same as a SET FIELDS TO ... statement? >> >>Maybe... To be honest, I didn't use SET FIELDS TO for years. > >I never have used it...but we'll just keep that as our little secret... I use it in FPD, in the screen code generator, because the generated code uses memvars and gathers/inserts a record, and just had to make sure that an accidental memvar doesn't get used for some field of the same name, so... Set Fields is really a mess, and took me some hours to figure its behavior out. It's additive by default :(. Set fields to fld1 Set fields to fld2 What do you get here? Field list consisting of fld2? No - its "fld1, fld2". So it goes as Set fields to set fields to /list comes here/ if new_record insert into ... from memvar else gather memvar endif set fields to I simply had to clear the list before and after.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform