Results 1 to 8 of 8
  1. #1
    Buakaw is offline Absolute novice
    Windows XP Access 2007
    Join Date
    Jan 2011
    Posts
    112

    How to "reverse engineer" a report


    Hi,
    I am taking over an existing Access project, and I'm totally new to this. I would like to understand how the existing reports were created, and where it's drawing it's data source. In short I want to learn how to "reverse engineer" the existing records.

    Is there a way I can tell which query the report is created from, or it's source?

    Also what's the easiest way to see where each of the fields are being drawn from? I tried to put it into design view then go one by one in the text and combo boxes to try to see where the data is coming from, but I do not know how to interpret the fields in the property box.

    Tried searching on Access help and on the web without much success. Is there an online resource the tells you how to interpret the property sheets of each control in detail? Thanks.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Each Report has a RecordSource on the Data tab of the Property sheet for the Form. This is usually a query and pressing the "..." button next to the value will bring up the query in design view so you can examine it.

  3. #3
    Buakaw is offline Absolute novice
    Windows XP Access 2007
    Join Date
    Jan 2011
    Posts
    112
    Hello RuralGuy,
    Do you mean that every report has a generic Property tab that lists its datasource? I tried clicking on the spaces where there are no controls, and for data it is a blank sheet. How do you bring up this generic datasheet for the entire report?

    The best I can do is go to design view and click on each and every single control (text box, etc.) and then right click and select Properties. But when I look at the property sheet under the Data tab in the Control Source field, it only lists the field name, and sometimes the field name in square brackets.

    E.g. Last Name or [Last Name]. It does not tell me where exactly this field came from (there may be multiple fields in different tables called "Last Name"), or it could even come from a Query.

    How can I get the full path to the actual variable? E.g. tblMainStudentInfo.Last_Name or something like that, instead of just [Last Name]?

    I click the "..." expression builder button but in the builder's textbox it still says [Last Name] and nothing else.

    Thanks.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    At the far top left of the Report is a box. It is at the left edge of the ruler. If it is selected then you can look at the Property Sheet for the whole report.

  5. #5
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    this box next to the ruler, if you haven't found it yet.

  6. #6
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    Just create a report by yourself without the wizard, then you will know how a report works.

  7. #7
    Buakaw is offline Absolute novice
    Windows XP Access 2007
    Join Date
    Jan 2011
    Posts
    112
    Ah! Found it! Thanks all, that's so "hidden!" Yes that's what I was looking for, thank you.

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Excellent! Glad to hear you got it sorted.

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

Similar Threads

  1. Replies: 3
    Last Post: 07-19-2010, 09:16 AM
  2. Replies: 3
    Last Post: 04-10-2010, 10:22 AM
  3. Replies: 8
    Last Post: 02-24-2010, 01:49 PM
  4. aSTR = Dir("C:\*.*") >> "Type Mismatch"
    By JGrant in forum Programming
    Replies: 1
    Last Post: 03-28-2009, 05:17 AM
  5. "Count" and "Countif" in Reports
    By JMantei in forum Reports
    Replies: 1
    Last Post: 06-20-2006, 02:20 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