General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only