Results 1 to 3 of 3
  1. #1
    Nadine67 is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jul 2015
    Posts
    55

    Lookup on form to open report

    Hello and thank you in advance for any attention this post may receive.



    Windows XP
    MS Access 2010

    I have a listbox (lstSelect) in a form with Row Source SELECT [ID], [Status] FROM tblStatus ORDER BY [Status];. The list box is used as the 'Status' criteria for records (from tblImprovements) displayed in a report. The trouble is the report opens it only displays a single record. And that single record is the record that has the ID number the same as the position of the selected criteria. By that I mean if i select the third option in the list, then the third record is displayed.

    tblImprovements has column [Status] and it is populated by selecting a value from the same tblStatus as the list box.

    Why is it so that the Id's are mixing up?

    Thank you

    Nadine
    Last edited by Nadine67; 07-23-2015 at 10:59 PM. Reason: Incorrect information

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    What do you mean by "Id's are mixing up"? Nothing in your description indicates to me that anything is mixed up. Listbox provides criteria for filtering report. Report shows records that match the ID. Sounds perfectly normal.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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.

  3. #3
    Nadine67 is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jul 2015
    Posts
    55
    Hello Jun

    I worked out my issue. I was using the incorrect ID name in the formula.

    Thank you for your reply June. And yes it did sound 'normal', and it wasnt returning an error to indicate an issue either.

    Glad I worked it out because not only is it returning what I want, it was a good learning for myself.

    Nadine

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

Similar Threads

  1. Replies: 3
    Last Post: 05-08-2015, 11:08 AM
  2. Replies: 10
    Last Post: 02-14-2015, 10:41 AM
  3. Lookup in Form and Report filtering
    By agure in forum Access
    Replies: 15
    Last Post: 02-16-2014, 08:32 PM
  4. Help on report to open form to open query...
    By saseymour in forum Programming
    Replies: 13
    Last Post: 07-16-2013, 08:11 AM
  5. Replies: 2
    Last Post: 05-11-2012, 11:52 AM

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