Results 1 to 7 of 7
  1. #1
    howlettb is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    20

    Adding numbers in sequence

    Hi ... I'm rather new at this, so please bear with me. I work for a non profit agency, and we offer a Representative Payee service (paying bills for those who can't handle their own money). I've created a database that keeps track of everyone's finances, and gives us all the reports we need. The only thing I have not been able to do is to actually print the checks. I have a report that pulls up the data (in check format ... including making $1.00 say one dollar and 00/100). But I'm stuck trying to give the checks a check number. I can't figure out how to pick a number to start with, and then add numbers sequentially. If you answer this, please be very specific. I've read through 100's of posts, and can't seem to figure out where I'm supposed to put what. Thank you in advance for your help!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Generating custom unique identifier is a common topic. Latest I responded in:

    https://www.accessforums.net/access/...lue-40205.html

    https://www.accessforums.net/forms/a...oop-40386.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.

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    What you are looking for is "Custom Autonumbers" or "Sequential numbers".
    If you google either or both, you will find lots of examples.


    If you answer this, please be very specific. I
    Without knowing how your dB is structured, how your reports/check printer is designed or having your dB, it is very hard to be specific.
    Mostly it is adding a table to keep track of the next check number and a little bit of code.

    Here are a few links:

    http://www.utteraccess.com/wiki/inde...tial_Numbering

    http://www.techonthenet.com/access/m...ential_nbr.php

    http://www.rogersaccesslibrary.com/forum/topic142.html

    http://www.baldyweb.com/CustomAutonumber.htm

  4. #4
    howlettb is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    20
    I'm sorry ... but I'm still confused, and I actually think I might be missing a step. I have a menu page that has a field called "FirstCheckNumber" and a button that takes you to a CheckR Report. The CheckR Report comes from a query asking for any bills that have not been paid during a specified period of time. Before clicking the button to get this report, you must first enter the "FirstCheckNumber". My hope is that when the report opens, the "FirstCheckNumber" will start the sequencing of the check numbers. (I have a [check#] field in the report that I"m hoping it will populate. I guess my first question is should I be using a form instead of a report? Is it possible to do this in a report? Where do I put the coding? This is the last step I need to make this happen and I'm so close I can taste it ... just not there yet. Anything you can do to help would be greatly appreciated.




    Quote Originally Posted by howlettb View Post
    Hi ... I'm rather new at this, so please bear with me. I work for a non profit agency, and we offer a Representative Payee service (paying bills for those who can't handle their own money). I've created a database that keeps track of everyone's finances, and gives us all the reports we need. The only thing I have not been able to do is to actually print the checks. I have a report that pulls up the data (in check format ... including making $1.00 say one dollar and 00/100). But I'm stuck trying to give the checks a check number. I can't figure out how to pick a number to start with, and then add numbers sequentially. If you answer this, please be very specific. I've read through 100's of posts, and can't seem to figure out where I'm supposed to put what. Thank you in advance for your help!

  5. #5
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    There are many ways to number the checks.

    You could have a button on the menu page that would have code to number the checks to be printed.
    Then after the check numbers are entered, the print routine runs to print the checks.

    You might be able to create a UDF to number the checks in the OnPage event (see Help) of the report.

    It depends on how/when you want to number the checks.

  6. #6
    howlettb is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    20
    I'm still confused. I can get the next sequential number to pop into my form, but it then stays that next number for all of the records. It doesn't continue to increase. What am I doing wrong??


    Quote Originally Posted by ssanfu View Post
    There are many ways to number the checks.

    You could have a button on the menu page that would have code to number the checks to be printed.
    Then after the check numbers are entered, the print routine runs to print the checks.

    You might be able to create a UDF to number the checks in the OnPage event (see Help) of the report.

    It depends on how/when you want to number the checks.

  7. #7
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Pops into your form into an unbound textbox? Then all records will display the same value.

    When/how are these 'check' records generated?

    The check numbers must be saved into a table somewhere.

    Without familiarity with your data structure, can't be specific. If you want to provide db for analysis, follow instructions at bottom of my post.
    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.

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

Similar Threads

  1. Insert sequence of numbers in table
    By amrut in forum Queries
    Replies: 2
    Last Post: 05-09-2013, 07:00 AM
  2. Find First number in sequence of numbers
    By losstww in forum Queries
    Replies: 4
    Last Post: 11-16-2012, 02:44 PM
  3. Adding numbers
    By imtiaz703 in forum Access
    Replies: 1
    Last Post: 02-14-2012, 09:50 AM
  4. Replies: 2
    Last Post: 06-11-2011, 10:39 PM
  5. Reverse Sequence of Numbers
    By OpsO in forum Queries
    Replies: 1
    Last Post: 08-12-2010, 06:05 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