>Hi, i'am just learning the basics about foxpro so i hope you forgive me if i this is a very stupid question.
>
>I'm trying to get autoincrementing according to the solutions sample database in the msdn, to work.
>
>I copied the necessary code en tables into my own project. So far it works fine. when i ad a table of my own (say table3) in my database and try to append blank on this table i get a datatype mismatch. As far as i can see this new table is exactly the same as one of the original tables. (including index)
>
>What am i missing here????
>thanks
I haven't seen the MSDN article, but there is a Primary Keys article on my web site that may help you.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer