|
-
February 11th, 2000, 07:19 AM
#1
AutoNumber
I have an Access 2000 database with a AutoNumber field (also PrimaryKey). The problem I have is that when I try to get a record I receive 0 from the AutoNumber field. Also, when I use the DataGrid control the coresponding column has only zeros.
I use ADO.
What could be the problem?
Thanx.
-
February 11th, 2000, 07:58 AM
#2
Re: AutoNumber
I remember reading an old copy of VBPJ (from early last year, I think), that mentioned this 'bug'. If I remember correctly, then it's a bug with the version of ADO that you use (of course, I could be wrong) - I think they mentioned that it was fixed in ADO2.1/2.5
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
-
February 11th, 2000, 09:25 AM
#3
Re: AutoNumber
I don't know about the bug, but I'm using ADO 2.1 and I've also found the problem. I had to set the Format property of the field to General Number in Access.
Thanx anyway.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|