Information générale
Catégorie:
Visual FoxPro et .NET
Versions des environnements
>>Since you decided to ignore my questions, I don't know if this is what you need, but you can use functions in INSERT command, it doesn't matter whether you execute the command using ADO, OLEDB or ADO.NET.
>>
>>INSERT INTO ... VALUES (..., GETAUTOINCVALUE(0), ...)
>
>I don't understand how I could get a handle on that value after the insert command is done.
Hi Michel,
If your question is how to get AUTOINC value after INSERT command generated one then I've already answered this question in my first reply on this thread. Simply call GETAUTOINCVALUE(0) as a procedure.
Thanks,
Aleksey.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement