Results 1 to 3 of 3
  1. #1
    grad2009 is offline Novice
    Windows XP Access 2007
    Join Date
    Feb 2010
    Posts
    27

    the value that the user enter (how to use it in a query)?

    hello guys,
    I have a form that contains of a field of (list type), I want the value of the list based on a query, this query is based on a value that entered by the user in another field in the same form. Can you tell me how can i do this?
    regards,

  2. #2
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    Let me get this straight you want to use the data typed in a particular field in a form as a criteria to a certain field on a query.

    say my I have a query called Query1 in the Query a Field1X
    I have a Form Form1 in that Form I have a Field called Field1

    now here is what you can do open the query
    in the criteria of Field1X type: Form!Form1!Field1
    now when ever you open the query when your Form1 is open the data in the Field1 in your from will be used as a criteria for the Field1X in your query.

    if this solves your problem please mark this thread to be solved.

  3. #3
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    have you been able to solve your problem if yes please mark this thread to be solved. If you have solved this issue in another way please post you solution.

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

Similar Threads

  1. Replies: 5
    Last Post: 08-05-2009, 12:13 PM
  2. Adding a table cannot enter data
    By tak4 in forum Queries
    Replies: 0
    Last Post: 02-03-2009, 10:04 AM
  3. Enter Parameter Value
    By plesser in forum Access
    Replies: 1
    Last Post: 11-08-2008, 10:27 AM
  4. can't enter data in some form fields
    By ashiers in forum Forms
    Replies: 1
    Last Post: 09-18-2008, 12:37 PM
  5. MS Access Enter Key Behavior
    By RAPSR in forum Programming
    Replies: 0
    Last Post: 12-23-2007, 02:31 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