Results 1 to 2 of 2
  1. #1
    amonadi is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2010
    Posts
    2

    Dynamic reports

    Hi,



    I would like to get guidance on how to do a particular type of access (2007) report. I am very familiar with sql but new to access.

    I have two basic tables. table A which contains static values + and ID and a table B which contains text field and an ID which maps to ID of table A.

    I would like to find out how i can place a text box which would be used to map content in text field of table B and a drop down menu with values of table A.

    Ideally, user would fill the text box and select an item from the drop down box and press a submit button. When the submit button is pressed the result would be a report of query from the values inputed.

    Can some one guide me on how i would be able to do such a thing?

    Thank you!

  2. #2
    A S MANN is offline Advanced System Analyst
    Windows XP Access 2007
    Join Date
    Oct 2010
    Location
    India
    Posts
    161
    You need to create a query with both Table A And B. Connect them by using ID as commmon field. Varify the data properly in query.
    Creat a Form. In form Property in Record sourse field write name of quey.
    Add Text box field and link it's Control sourse field to concern field in table B
    Add Combobox field and link it's Control sourse field to concern field in table A
    in raw source write SQL eg SELECT [Field A] FROM Table A; Use ... as tool to design the query as source.
    Add Command button name as submite and use wizard to preview a report.
    Create a report with desired fields
    Data can be restricted to one selected at form by selecting the filter condition as tableA.ID=TableB.id .
    Reply if you want more details.

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

Similar Threads

  1. Dynamic With Statement
    By swalsh84 in forum Programming
    Replies: 10
    Last Post: 09-09-2010, 12:35 PM
  2. Dynamic Web page
    By KevinH in forum Access
    Replies: 3
    Last Post: 01-03-2010, 06:56 PM
  3. Dynamic Report
    By vCallNSPF in forum Reports
    Replies: 0
    Last Post: 12-08-2009, 04:19 PM
  4. Dynamic reporting
    By pushpm in forum Programming
    Replies: 0
    Last Post: 04-22-2009, 12:45 PM
  5. help with dynamic hyperlink to pdf
    By iresolver in forum Access
    Replies: 0
    Last Post: 12-24-2008, 01:21 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