Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto-increment field and Cursor Adapter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01184627
Message ID:
01184637
Vues:
15
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform