Results 1 to 2 of 2

Thread: Access autonumber and new records

  1. #1
    Tom Guest

    Access autonumber and new records


    I am trying to use asp pro to display, update, and add fields to a microsoft access database. Even though ID fields are of type AutoNumber, when I create a new record via the add button, the form asks me to fill in the id field. I can leave it blank and the autonumber fills it in, but is there anyway to get it to not display this field in asp pro?

    Thanks for the help.

    Tom

  2. #2
    Mark Guest

    Access autonumber and new records (reply)

    Tom,

    You are correct. It would be best not to even show that field. Use either dbEditFlds or dbEditHideFlds to exclude that particular field.

    Mark.


    ------------
    Tom at 12/11/00 1:03:05 PM


    I am trying to use asp pro to display, update, and add fields to a microsoft access database. Even though ID fields are of type AutoNumber, when I create a new record via the add button, the form asks me to fill in the id field. I can leave it blank and the autonumber fills it in, but is there anyway to get it to not display this field in asp pro?

    Thanks for the help.

    Tom

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •