+ Reply to Thread
Results 1 to 5 of 5

Autonumbering the default database form

  1. #1
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Autonumbering the default database form

    Attached is a workbook for entering sample receipt. Each new entry/row should have the consecutive number in column A.
    I have a button for calling up the default form for a database (e.g. Data>Form>New).
    Please Login or Register  to view this content.
    Is there any way to get that first field to autopopulate with the next number? Or would I need to create a user form to do something like that? Thanks in advance.
    Attached Files Attached Files
    Last edited by ChemistB; 05-07-2009 at 01:23 PM.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Autonumbering the default database form

    You cannot amend the built in dataform. I have posted several examples showing how to create a sequential reference number.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: Autonumbering the default database form

    Thanks Roy, That's what I thought.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Autonumbering the default database form

    Take a look at the database form example here

    http://www.excel-it.com/vba_examples.htm

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: Autonumbering the default database form

    Thanks again. I will disect it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1