Results 1 to 4 of 4
  1. #1
    sabraham is offline Novice
    Windows XP Access 2000
    Join Date
    Jan 2010
    Posts
    2

    Calculating Beginning and Ending page numbers

    I have a database that is a summary report of documents in the chain of title for real estates. When we present the report, we hard copy the documents and stack them together and number the pages. I need to include the beginning and ending page for each document in the Access Report. In other words if the first document has 5 pages, the Access Report for that record would need to show Pages 1-5. If the second document has 3 pages, it would need to show Pages 6-8.



    One of the fields in each record in the database is the number of pages in that document. I do this in Excel by having two columns, one for the beginning page number and the ending page number. On the first record in the spreadsheet the beginning number is 1. I add the number of pages in the document to the beginning number and subtract 1. On the second record to calculate the beginning page number, I add the ending page number from the line above plus 1. To calculate the ending page number, I add the beginning page number from the current line and subtract 1.

    I need to do this in Access.

    Any Suggestions?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It is not real clear to me how you have things organized in Access. Is this for a report or a form? Is it a Table of Contents? More details would be helpful.

  3. #3
    sabraham is offline Novice
    Windows XP Access 2000
    Join Date
    Jan 2010
    Posts
    2
    This is a report and yes it is like a a table of contents.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Interesting problem. The report generator makes several passes before it actually starts to print so you may be able to use the Format Event to determine the page numbers. Did you plan for this TOC to be at the beginning of *this* report?

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

Similar Threads

  1. Calculating Dates
    By AJ0424 in forum Programming
    Replies: 1
    Last Post: 07-14-2009, 08:29 AM
  2. Replies: 1
    Last Post: 03-12-2009, 09:55 AM
  3. Replies: 0
    Last Post: 02-11-2009, 06:43 PM
  4. Help requested for calculating age
    By techexpressinc in forum Queries
    Replies: 3
    Last Post: 01-28-2009, 11:29 AM
  5. Viewing ending zeros in decimal
    By duecesup in forum Reports
    Replies: 0
    Last Post: 12-11-2008, 02:45 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