Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting primary key after an insert
Message
 
 
À
06/06/2006 15:41:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01127217
Message ID:
01127476
Vues:
18
>>>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.

What would you suggest for free tables?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform