Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VMP, views and primary keys
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00054660
Message ID:
00054917
Views:
28
>I handle primary key generation in views by putting x3genpk('base table name','database') in the default value of my primary key field in the view. Don't SELECT * in your view definition, or your default value will disappear whenever you make changes to the base table.

Sounds reasonable. I'll give it a try. Thanks.
>
>I can't remember why I did it this way (I may have had the same problem as you), but it works great.
>
>BTW, _upgrade_to_version_3.0_, especially if you're just starting a new project.

Is 3.0 really that much better?

Thanks
Greg
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform