A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Query with multiple fields and one form



 
 
Thread Tools Display Modes
  #1  
Old May 28th, 2004, 10:06 PM
Evan McCutchen
external usenet poster
 
Posts: n/a
Default Query with multiple fields and one form

Hello,

I have a database that has a form "Bluebook" and a corresponding table
"Bluebook". On the form, i have a button that says Query and when clicked,
it opens a form that allows the user to query from four different fields.
How do i make it so that when the user hits the "ok" button on the query
form, the Bluebook form is filtered so that only the results of the query
are displayed?

Thanks for your assistance!
Evan McCutchen
evan AT radiologyonesource DOT com


  #2  
Old May 29th, 2004, 03:06 AM
Van T. Dinh
external usenet poster
 
Posts: n/a
Default Query with multiple fields and one form

When the user clicks OK on the second Form (Dialog mode recommended), you
can set the Filter Property of the 1st Form according to the criteria
constructed from entries on the second Form and then set the FilterOn
Property (of the First Form) to True to activate the filter.

Check Access VB Help on the Filter and FilterOn Property.

--
HTH
Van T. Dinh
MVP (Access)



"Evan McCutchen" wrote in message
...
Hello,

I have a database that has a form "Bluebook" and a corresponding table
"Bluebook". On the form, i have a button that says Query and when clicked,
it opens a form that allows the user to query from four different fields.
How do i make it so that when the user hits the "ok" button on the query
form, the Bluebook form is filtered so that only the results of the query
are displayed?

Thanks for your assistance!
Evan McCutchen
evan AT radiologyonesource DOT com




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.