Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generate Primary Key
Message
From
03/12/2003 19:47:11
 
 
To
03/12/2003 12:27:17
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00855292
Message ID:
00855680
Views:
20
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...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform