Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Borislav,
You ROCK!
I have been back in VFP 8.0 for so long I forgot about GETAUTOINCVALUE().
I confirmed it works, and I even confirmed that just a straight call to the function without housing it in a SELECT statement works fine. I am going to set it up in an ExecuteScalar routine so that I can always get the last auto-inc field generated with one call. Will probably make that function return true if there is a number to be had, and false otherwise (because it could be NULL if no auto-inc was generated...)
You saved me on this one, I can't thank you enough!
Thanks,
JoeK
Précédent
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