Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary Keys
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00248872
Message ID:
00248994
Views:
14
>I have MS-SQL assigning a unique identifier as a primary key in the back end. I'm linking to the tables via remote views. My problem is when I save an Added record I don't have the primary key yet so if the user makes an immediate change on the added record an update conflict error occurs. I can do a REQUERY() after the save, but this seems alot just to get the primary key back to the front-end and the Refresh() function won't work as far as I can tell. I'd like to hear what you all are doing in this case.
>
>Thanks in advance.

I use a separate table to handle the counters for IDs. There are many problems with using indentity fields. It is just safer and more flexible to assign the keys yourself.
DLC
"Use the Right Tool for the Job!"
davidandcynthia@email.com
Previous
Reply
Map
View

Click here to load this message in the networking platform