Auto Numbering a specific field within a database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Smitty099099
    New Member
    • Mar 2022
    • 5

    #31
    Does not work...In VB .net Autoincrement is read only...that code works for VBA...But not VB .net

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32645

      #32
      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 an AutoIncrement property 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

      • Micokin
        Banned
        New Member
        • Aug 2024
        • 2

        #33
        After reading it carefully, I feel that I have learned

        Comment

        Working...