Hi,

I´m trying to move up from Access to VB. In an access db I have a table with an autonumber(PK) and a text field.

I´ve managed the database connection and I use a datagrid for the table. Now when I add a record by writing something in the text field, I want the autonumber to increment like in access.

How do I do this? I´ve tried searching the forum, but with no luck. I´m guessing this is so easy that there isn´t even a thread for it.

I´m using VB 2005 express.

Thanks!

Fuga.