Results 1 to 3 of 3
  1. #1
    army182 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    May 2014
    Posts
    1

    Report problem

    Hi before i start iam a beginner in access and my english isnt very well.



    Iam creating report based on my database. the report is based on query which contains criteria that data will be selected by surname.
    That works but i have need to display data like what kind a monitor this person is using. One user can have several monitors so i need to display like several lines in listbox. but criteria doesnt work on listbox it shows just all the data from row source forgetting about criteria. that means that i get data from all right columns but for all users.
    I cant have a separate criteria in listbox query because then to report work user will have to write surname twice.

    Pls help. I just need to get the same persons data in listbox. in textbox u can get several lines too as a result?

  2. #2
    recyan's Avatar
    recyan is offline Expert
    Windows 2K Access 2000
    Join Date
    Dec 2011
    Posts
    662
    Would suggest
    ----------------------
    1) Post your table/s used in query, along with a few data.
    2) Post the query sql.
    3) Post the result of the current query, that you are getting.
    4) Post the ideal result, that you want.
    5) Post What is happening in the report, if the query output you are getting, is correct ?

    ----------------------
    The other option, if possible, post your db with minimum data & point out where things are going wrong.
    ----------------------
    This will enable people to help you better & faster.

    Thanks

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    As recyan suggests, provide db for analysis if you want specific guidance.

    In general, base the report on a query that joins tables then use report Grouping & Sorting features. Another approach is report/subreport.

    Listbox is useless on report object.

    Concatenating data from multiple records into a textbox would require VBA http://allenbrowne.com/func-concat.html

    A dynamic parameterized query is one way to filter report http://www.datapigtechnologies.com/f...mtoreport.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Please fix my problem's report
    By pedjvak in forum Reports
    Replies: 2
    Last Post: 04-23-2013, 10:16 PM
  2. Problem with a report
    By renegp55 in forum Reports
    Replies: 3
    Last Post: 05-18-2012, 01:34 PM
  3. Problem with sub-report
    By samo1215 in forum Reports
    Replies: 0
    Last Post: 06-27-2010, 01:11 PM
  4. Report Problem
    By RandRob in forum Reports
    Replies: 0
    Last Post: 11-18-2008, 05:39 PM
  5. Report Problem
    By tlitman09 in forum Reports
    Replies: 0
    Last Post: 02-20-2007, 09:26 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