Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto-increment field and Cursor Adapter
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01184627
Message ID:
01184637
Views:
14
>>Hi everybody,
>>
>>I'm using VFP Autoincrement fields for my PKs. I want to display this auto-generated PK on the form. However, using append blank doesn't create a key up until the record is actually saved.
>>
>>What can I do to display the PK on the form, but yet not making changes in the record?
>>
>>Thanks in advance.
>>
>>After second thought, it may be impossible, since the number may change if another user makes updates.
>
>Your second thought is the right one :-)
>You could display some value (maybe the next key), but nobody can be sure if THAT key will be used.

I wish I can always do a second thought first before doing something I can regret for the rest of my life.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform