Results 1 to 5 of 5
  1. #1
    BatmanMR287 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Jan 2014
    Posts
    69

    Selecting one item at a time from table column to display on report.


    I have a table that has groups of 8 people in one column. I need to pull each one (from one group) at a time to print their name on report. Each group has a unique number and each of the 8 people have a unique number as well. The unique number for each of the 8 people is an auto number and are always sequential.
    How do I roll through the eight one at a time?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    In a form, you have a list box that shows the people. Select 1 person to print. your query will use this as the criteria to filter.
    the query in the list box is select [personID],[name] from tPersons order by Name

    the query: qs1PersonRpt uses the list box as the where
    select * from tPersons where [personID] = forms!frmRpts!lstBox

    the button on the form, frmRpts will open the report that uses this query, qs1PersonRpt
    and only report on the item selected in the list

  3. #3
    BatmanMR287 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Jan 2014
    Posts
    69
    Sorry, this report is much more advanced than that. I need to print all info at the push of one button. I decided to redesign it to accommodate access.
    There is a form that pops up to select district and date. Once you select that it prints all responses to 42 question taken by 8 people. It is a three page report and looks great.

  4. #4
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    It is a three page report and looks great.
    Care to share your solution for the benefit of others?

  5. #5
    BatmanMR287 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Jan 2014
    Posts
    69
    The report I was trying to emulate had each person's name across the top from left to right with the answers appearing beneath the corresponding person. In the table their names and auto numbers for each person are in a column. As you know access likes to display data in a column vertically not horizontal. So I made the report horizontal with the names on the left side and one underneath the other and the answers running from left to right as well.

    They didn't like that format and would prefer it to be in the old format. I would post pictures but I need to populate it with different names to not release real name information. I'm going to post a new question for the solution to this problem with a more accurate title as to the possible solution I am thinking of.

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

Similar Threads

  1. Selecting item by category
    By mr steev in forum Access
    Replies: 1
    Last Post: 02-25-2015, 03:29 PM
  2. Replies: 5
    Last Post: 10-15-2014, 01:12 PM
  3. Selecting a combobox item with VBA
    By tylerg11 in forum Forms
    Replies: 6
    Last Post: 04-19-2012, 12:30 PM
  4. Replies: 1
    Last Post: 01-10-2012, 12:06 AM
  5. sales DB selecting column and column range
    By pher77 in forum Queries
    Replies: 3
    Last Post: 06-11-2011, 04:04 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