Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting back the AutoIncrement value foxpro table

Status
Not open for further replies.

Gandalf23

Programmer
Apr 9, 2002
128
NL
Hello all,

I have an INSERT statement on a vfp8.0 database which uses AutoIncrement. Somehow I want to retrieve the number that has been appended. In Sqlserver there is a IDENTITY that can do this but is there something for foxpro database?


 
You would probably have to post this in the FoxPro forum. It seems as though you already know how to do this on the C# end?
 
Probably, but I'm afraid that they would say:

You would probably have to post this in the C# forum as it has to do with C# programming.;-)



 
Not really. I wouldn't expect to get advice on how to return the identity of a SQL Server Record in this forum over the SQL Server forum. It really is a FoxPro issue because all you're going to want is the syntax to pass to the FoxPro source from your program.

And also, most people in here use SQL Server, Access and Oracle as their database source in .Net in this particular forum I've notice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top