Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft Access Query Help

Status
Not open for further replies.

1001011010

Programmer
Dec 30, 2002
7
0
0
I have a query in my database which searches for a specific record in the database using a parameter that the user enters. I also have a form bound to the query to display the record information for me. But there is a problem. If the user searches and enters a parameter that does not exist, when the form loads, it is completly blank! I was wondering if i could tell the query, even if it dosen't find anything, to display the blank fields. The SQL statement follows:

SELECT Master_Service.COMMENTS1, Master_Service.EMPTYBX_WB, Master_Service.WORKNUM, Master_Service.PROBLEM, Master_Service.RET_WBN, Master_Service.CALLRCVDAT, *
FROM Master_Service
WHERE (((Master_Service.COMMENTS1)=[Please Enter The Incident#]);


Help me please.... :(
 
1. Bind the form to Master_Service.
2. Set to new record on open.
3. Give user a combo box of values from Master_Service.COMMENTS1 so they can always select a valid value.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top