Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieve autoincrement value from SQL server remote view
Message
From
08/02/2002 16:47:45
 
 
To
08/02/2002 16:26:35
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00550467
Message ID:
00617723
Views:
33
I need to know the ID before I save it because additions to child tables can be made before the parent table is saved. A way to get around the 2 additions is by using the flags.

If there is a reusable record that is not inprocess grab it and flag it as inprocess, that user now has a number, else you insert a new record flag it as reusable and inprocess and commit, you now have a number then the next user won't be able to get that record number.

If you then click save it unflags resuable and inprocess and you save it.
If revert is clicked you unflag inprocess and commit.

I don't know how to do this with a remote view of the SQL server data.

Tyler
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform