Results 1 to 10 of 10
  1. #1
    WestBank is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Aug 2015
    Location
    Toledo, Ohio
    Posts
    4

    Unhappy How to Serialize each report instead of numbering the pages.

    Dear Friends,

    I am in receipt of thousands of stickers from a vendor that are missing serial numbers.

    I am using MS Access to print these stickers; a few at a time as required throughout the day.

    I would like to add a text box to the stickers that serializes each printed sticker (or query a table that I can install in the DDF that contains nothing more than serial numbers from "0001" to "9999".)

    It's tricky. I'm not sure how to accomplish this.

    Has anyone successfully done this?



    For instance: stickers printed at 9:00am would be numbered, "0001","0002","0003" and the stickers printed at 10:00am would be numbered, "0004", "0005", "0006" etc.

    I'm sure there is an elegant way; I just don't know about it.

    Take care,
    Alex

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    append your data to a 'report' table, with an autonumber field.
    report on this table.
    there's your serial#.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    What does DDF mean? What's on these stickers? You want to print a serial number onto these stickers?

    Generating custom unique identifier is a common topic. Here is one https://www.accessforums.net/forms/a...ing-23329.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    WestBank is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Aug 2015
    Location
    Toledo, Ohio
    Posts
    4
    Thanks for responding! Question answered in the order they were received:

    a.) 9:00am and 10:00am were used merely for example purposes. Let's say I want to print stickers at various times per day and each successive sticker has a serial number (from the range "0001" to "9999") printed along with the other fixed and variable information. So... at sticker printed at 9:00am, for example, has serial number "0025" and the next sticker printed at 10:00am, for example, has serial number "0026".

    b.) DDF = data dictionary file.

    c.) The stickers are enormous polylith things that contain lots of fix and variable data about coils of steel.

    d.) Yes, I do want to print serial numbers because the vendor shipped thousands of cartons of stickers to the factory without serial numbers. I'm just trying to salvage the stickers and print the serial numbers as I print the other data.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    So these stickers don't have any kind of unique identifier?

    You need a table of the serial numbers. Can be only the one field. Code will look for the last used number and create new records incrementing from there.

    Or pre-establish the bazillion records with the sequential number and have another field (yes/no) WasPrinted. Again, code finds the next available record and prints then sets value of WasPrinted to Yes.

    Polylith - expanding my vocabulary today! Oh, like monolith.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    WestBank is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Aug 2015
    Location
    Toledo, Ohio
    Posts
    4
    Yes, a table of serial numbers.

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    And your options are to use an autonumber for the serial or code to generate. Did you review the referenced link?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  9. #9
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726

  10. #10
    WestBank is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Aug 2015
    Location
    Toledo, Ohio
    Posts
    4
    I have not referenced the link just yet but I'm getting there. details to follow! Thank you! Alex

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

Similar Threads

  1. Report printing extra pages of the same report.
    By khughes46 in forum Reports
    Replies: 5
    Last Post: 06-19-2014, 07:39 AM
  2. Report pages
    By combine21 in forum Reports
    Replies: 1
    Last Post: 03-05-2011, 04:39 PM
  3. Balnk Pages in Report
    By jbarrum in forum Access
    Replies: 3
    Last Post: 01-28-2010, 01:58 PM
  4. Blank pages between report pages
    By jonsuns7 in forum Reports
    Replies: 2
    Last Post: 10-01-2009, 05:06 AM
  5. How to Serialize Recs in a table
    By access230 in forum Access
    Replies: 3
    Last Post: 08-26-2009, 02:28 PM

Tags for this Thread

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