Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary Key generation via ODBC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00210160
Message ID:
00221475
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform