Results 1 to 3 of 3
  1. #1
    Ayiramala is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Dec 2014
    Location
    Kerala, India
    Posts
    74

    Adding serial numbers to reports automatically

    Hello,


    I am now working on a db for generating a certain school certificate. I have this query based on students' table, and the necessary form. The problem is with generating certificate numbers.When I press the print button I want the system to assign serial numbers to the certificate automatically, if the first number is given. The next documents should be sequentially numbered, adding one at a time.How can we do this? Can it be done without a field in the students table for this newly generated numbers?
    Any help is greatly appreciated.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    It has to be saved somewhere to be remembered and incremented. It would either need to be a field in the students table or you could have a one-record table where you look up the last used number, add 1 to it and use it, updating the table with the new number.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    cbende2's Avatar
    cbende2 is offline Competent Performer
    Windows 7 32bit Access 2013
    Join Date
    Jun 2014
    Location
    Louisiana
    Posts
    370
    Why not just add an autonumber field to the table? Call it SerialNumber or something

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Help with Serial numbers table
    By RandyP in forum Programming
    Replies: 2
    Last Post: 06-11-2014, 03:39 PM
  2. Replies: 6
    Last Post: 02-10-2014, 01:04 PM
  3. mutli serial numbers in one
    By wirelineuk in forum Queries
    Replies: 1
    Last Post: 10-11-2012, 01:26 PM
  4. Automatic Serial Numbers
    By Mitch87 in forum Access
    Replies: 9
    Last Post: 02-18-2010, 12:57 PM
  5. organizing serial numbers and quantities
    By Diomeneus in forum Access
    Replies: 0
    Last Post: 11-14-2008, 03:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums