Results 1 to 7 of 7
  1. #1
    tinyelvis is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    3

    Question help please: making reports/queries by typing in field data?

    Please forgive m=y lack of knowing how to even phrase this - I have not worked with Access in 10 years, and I have fogotten quite a bit.



    I am creating a registration DB for a school. My tables are all set up and working, but what I cannot figure out how to do is to create a report such that upon opening it, a little dialogue box pops up and asks me "Term" and "Class" and then I type those things in and viola I get a class list.

    Thank you so much for any help - I know this is something simple, but my brain let go of this a long time ago...

  2. #2
    dblife's Avatar
    dblife is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Nov 2011
    Location
    South Shields, UK
    Posts
    104
    base the report on a select query rather than a table and in the criteria section write,
    =[Term]
    and in the other column for class,
    =[Class]

  3. #3
    tinyelvis is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    3
    thanks dblife - I assume you mean to enter those into the query criteria, but when I did that, it did not work.

    Am I doing something wrong?

    Thanks!

  4. #4
    dblife's Avatar
    dblife is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Nov 2011
    Location
    South Shields, UK
    Posts
    104
    it's a function i use in a2003 - might be it doesnt work in a2010... cannot comment on this as i do not use a2010.

  5. #5
    HMEpartsmanager is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Nov 2009
    Posts
    85
    I have a report where I printout tools purchased for the year. I created a query for it of the data I wanted; qryToolsPurchased. As one of the fields, I have [Employee ID#: ?] under the Employee ID # field.

    Then in my report, I use the qryToolsPurchased query and when it runs, it asks me what Employee, I answer, and it kicks me out the report.

    I have other reports similar where I have created the query of the data I need, and in the field instead of enterying TF100, I would have [Employee ID#: ?]; or in a boat field, have it ask me for the boat, etc...

    Then I will only have the 1 query, and the 1 report, to get the information I want. Whether it is 30 employees and getting tool purchases for the year, 1 report; or if I want a list of all parts used on boat 30, I get that 1 report.

    Something like that may work; a Query setup with the question being asked within the query so when the report runs, it will ask the question.

    Tim

  6. #6
    tinyelvis is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    3
    Tim, AWESOME!!! Thank you so much. I knew it was simple! That worked. Can you have the little dialogue box give an example of what to type - for example, it would say "Term: ? (fall, spring, etc.)"

    THank you so much for your help!!

  7. #7
    HMEpartsmanager is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Nov 2009
    Posts
    85
    Quote Originally Posted by tinyelvis View Post
    Tim, AWESOME!!! Thank you so much. I knew it was simple! That worked. Can you have the little dialogue box give an example of what to type - for example, it would say "Term: ? (fall, spring, etc.)"

    THank you so much for your help!!
    I believe so. I am not sure, but I think the way you have it [In Brackets], is what will display for the question. Give it a try, experiment.

    So change your field criteria to [Term: ? (Fall, Winter, Spring, Summer)] and it should work.

    Tim

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

Similar Threads

  1. Multiple Queries and Reports
    By Chad E in forum Access
    Replies: 4
    Last Post: 10-18-2011, 01:47 PM
  2. Queries, Forms, Reports..
    By groundhog in forum Access
    Replies: 3
    Last Post: 07-07-2010, 12:30 PM
  3. Having a hard time programmatically making reports
    By blacksaibot in forum Programming
    Replies: 6
    Last Post: 01-20-2010, 03:53 PM
  4. creating field names in table without typing
    By GHanover in forum Database Design
    Replies: 2
    Last Post: 12-14-2009, 05:13 AM
  5. Making report from 2 queries
    By QueeN in forum Reports
    Replies: 1
    Last Post: 04-20-2009, 01:36 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