Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trigger message in dbc
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00146775
Message ID:
00147822
Views:
36
>>Does putting the call to GenerateID() in the default value automaticaly add the new index value when you append a new record?
>
>Yes, and that's the cool thing. One caveat: views have their own default values, so if you add into a view (which I avoid), and you need the PK before TableUpdate, extract the defaults for the table from the DBC first.

Or specify the same default value in the view definition, and the view takes care of itself.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform