Does not work...In VB .net Autoincrement is read only...that code works for VBA...But not VB .net
Auto Numbering a specific field within a database
Collapse
X
-
-
Hi Smitty. Welcome to Bytes.com :-)
I read your comment with great confusion. There are pages of posts in this thread and I see nowhere that references anAutoIncrementproperty such as you allude to. Perhaps I didn't search hard, or for long, enough. Nevertheless, your comment is quite unclear as to what it's a response to. On top of that it seems to pertain exclusively to VB .NET - a wholly separate area of technology from Access & VBA. I don't believe it can be possible that any part of the object structure provided by an Access database can behave mysteriously differently (unsettable in one but not the other) depending on the language used. Maybe there's something I don't understand. As I say, I'm not a .NET expert; they tend to inhabit the .NET areas of the site rather than here in Access / VBA, but generally-speaking an object is agnostic of the environment it's being accessed from.
Otherwise I'm really not sure how it might be any help anyway as it doesn't pertain to the question even.Comment
Comment