Results 1 to 2 of 2
  1. #1
    mike_980 is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jan 2012
    Posts
    58

    Access 2000 queries return blank when using form parameters

    I am currently using access 2000 and for some reason I can't seem to be able to get the queries to lookup a value in a form.



    The criteria I am using is:
    [Forms]![frm_PID_Select]![PID_desc]


    I tried this first in a crosstab query and it wouldn't work so I then tried it in a simple select query and still no luck. The criteria works perfectly when I enter it into a prompt if I use [Enter PID description] then manually type in the value that is in my combobox on the form.

    I am used to Access 2010 onwards so using such an old copy might mean I have neglected something important?

  2. #2
    mike_980 is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Jan 2012
    Posts
    58
    Here is the SQL:

    Code:
    SELECT [tbl_PID].[PID_description], [tbl_test].[LgTime], [tbl_test].[ECU_value]
    FROM tbl_PID INNER JOIN tbl_test ON [tbl_PID].[PID_ID]=[tbl_test].[PID_ID]
    WHERE ((([tbl_PID].[PID_description])=[Forms]![frm_PID_Select]![PID_desc]));

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

Similar Threads

  1. Form Parameters and Pass Through Queries
    By Paul H in forum Queries
    Replies: 3
    Last Post: 02-21-2014, 01:46 PM
  2. Replies: 17
    Last Post: 08-27-2013, 10:21 PM
  3. Access 2000 Form Help Please
    By mattyn1 in forum Forms
    Replies: 3
    Last Post: 03-22-2013, 01:32 PM
  4. Count query return zero instead of null/blank
    By dhicks19 in forum Queries
    Replies: 1
    Last Post: 04-19-2012, 07:52 AM
  5. Replies: 0
    Last Post: 02-19-2012, 08:22 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