Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generate Primary Key
Message
De
03/12/2003 19:47:11
 
 
À
03/12/2003 12:27:17
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00855292
Message ID:
00855680
Vues:
19
Hi,
Thank you for reply.
Then do you have any suggestions?

I plan to set lAutoPrimaryKey = .F., create a uniqueID BizObj class, then retrieve the ID value without increase it kBizObj.OnNew()(For display purposes). Then, call loDataAccess.GeneratePrimaryKey() during kBizObj.save(). Do you think is is worth? BTW, I don't see any hook that allow me to do this, since PreSaveHook() is not in BEGIN TRANSACTION scope. Any ideas?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform