Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary Key generation via ODBC
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00210160
Message ID:
00221475
Views:
23
The NewID() as a stored proc within the DBC will work only if
VFP is running. I doubt you'd want VFP active when doing an
insert from a web page. Probably the only way around it is to
create a COM object.

>Bob;
>
>>If you put your NewID stored procedure in the .DBC, and set the default value of your Primary Keys to NewID() then even if you add a record with ADO via ODBC the stored procedure should run an produce a Key for you.<
>
>That's exactly what I am doing, and it isn't working
>
>
>Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform