Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Autoincrement fields
Message
From
13/08/2004 11:17:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00933021
Message ID:
00933146
Views:
23
>A local view is used to add records through a form and the underlying table’s primary key field is defined with the new autoincrement field type, how can you simply determine what value was assigned to the new record’s primary key?

I didn't work with version 8 yet, but wouldn't you just ask for the value of the field? Like:

? MyPK
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform