>>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