Results 1 to 2 of 2
  1. #1
    jgross is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2011
    Location
    Palo Alto, CA
    Posts
    6

    Can Data be Stored in a Report

    I'm wondering if it is possible to store data as part of a report, but not part of an underlying table. I have a simple calendar database with a report that prints one page for each day of a project listing all the various events for each day. I would like a version number to appear atop each page so that as events change and pages are reprinted with new information we can keep track of what information is most current.


    My first thought was to place a combo box in the group header of the report (I've used the group feature to organize the record set into individual days) with fixed values of the version numbers we use. My hope was that in report view, I could simply select a version for each day and then that information would print with the report. The problem I've run into is that this information doesn't seem to "live" anywhere. Any time I navigate away from report view, the values are all reset to 1. As a possible solution I tried creating a table that would simply store the values v1 through v9 and making that the data source for the combo box. Access doesn't like this, though, because there is no actual relationship between the values in that table, and the value of the table that makes up the record set the report generates.
    Is what I'm trying to do even possible, or am I simply approaching this from the wrong angle? Thank you for your help and patience.

    -Jim

  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,641
    The short answer is that data can not be stored in a report. You'll need to store it in a table. You could use a DMax() to get the latest value from the table.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. write stored procedure with 'if else'
    By shital in forum Access
    Replies: 9
    Last Post: 04-11-2018, 11:47 AM
  2. Change database where data is stored with a dropdown box
    By le_carrington in forum Programming
    Replies: 5
    Last Post: 11-25-2010, 11:45 PM
  3. Help with date stored as string
    By weisslakeguy in forum Queries
    Replies: 8
    Last Post: 05-26-2010, 11:14 AM
  4. Number stored as text
    By Mclaren in forum Programming
    Replies: 1
    Last Post: 05-15-2010, 03:11 AM
  5. Replies: 6
    Last Post: 04-18-2010, 03:41 AM

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