Solved

Using a query to do a search

Posted on 2012-03-20
2
272 Views
Last Modified: 2012-03-20
When i run the query parameters pop up. Asking for the fields that I have in the search. Below is the code that I am using.

Like "*" & [Forms]![Inventory Report]![Employee Name] & "*"

I have one table that the query is getting the information from.
Database1.accdb
0
Comment
Question by:gigifarrow
2 Comments
 
LVL 42

Accepted Solution

by:
dqmq earned 250 total points
ID: 37744418
The query wants field from the form.  If the form is open, then it will take the form instead of prompting for them.  You cannot do that with a modal form.  Change the form's modal property to No.
0
 

Author Comment

by:gigifarrow
ID: 37744451
Thank you for your help. That was the problem alright!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Read about achieving the basic levels of HRIS security in the workplace.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now