Solved

Using a query to do a search

Posted on 2012-03-20
2
276 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ms access 2013, running .mdb 2 31
Two list boxes - best structure 3 32
Web based Access Database and licencing 5 30
ms/access vba - how to wait for a form to close 2 17
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

867 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

16 Experts available now in Live!

Get 1:1 Help Now