Results 1 to 3 of 3
  1. #1
    nikgupta is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    5

    Parameter Help!

    I've created a query which looks like this:



    Field Last Name Nationality
    Table Table 1 Table 1
    Criteria [Last Name:]

    It worked fine as a query however in order to make it easier to use I tried to make a drop down list for the parameter (last name by using a form. After having created a form with a combo using the last name field from table 1 and a button on the form that ran the query, I used the builder to create an expression and deleted the parameter. It looks like this:

    Field Last Name Nationality
    Table Table 1 Table 1
    Criteria [Forms]![Form1]![Combo11]

    However after selecting a value from the combo and running the query on the form, both the Last Name and Nationality Column are empty. I have no idea what I'm doing wrong.

  2. #2
    nikgupta is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    5
    *([Last Name:]) not (Last Name

  3. #3
    nikgupta is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    5
    And just to confirm the criteria on the nationality column is empty on the 2nd 'diagram'

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

Similar Threads

  1. How to run parameter query from VBA
    By John Southern in forum Programming
    Replies: 10
    Last Post: 02-07-2014, 02:24 PM
  2. Enter Parameter Value
    By kwooten in forum Queries
    Replies: 13
    Last Post: 08-11-2011, 02:35 PM
  3. Enter Parameter value?
    By hlcarlin in forum Forms
    Replies: 3
    Last Post: 07-06-2011, 08:09 AM
  4. Parameter query
    By doss13 in forum Queries
    Replies: 1
    Last Post: 06-26-2010, 06:11 AM
  5. Can you use a parameter in findrecord?
    By P5C768 in forum Programming
    Replies: 2
    Last Post: 08-20-2009, 04:36 AM

Tags for this Thread

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