Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary keys with sql and vfp
Message
From
16/01/2006 11:27:19
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01087199
Message ID:
01087204
Views:
15
>Dear all,
>
>On my remote views that are hooked up to my sql backend, I can't retrieve the primary keys of the newly created records. They are left blank after I add and update the view, but sql server has generated a primary key for the record. How do I get that primary key back into my remote view.
>
>TIA,
>Kenneth

Use a GUID and create before you even update.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform