»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 06-10-2003, 01:44 PM   #1 (permalink)
Registered User
 
Join Date: Jun 2003
Posts: 1
tpitman is on a distinguished road
Kids Microsoft Access

Hi, I'm trying to set up 2 parameters in a query, whereby the parameters are specified by fields in a form

i.e.
forms!SearchForm!bicycle
forms!SearchForm!FrameColour

I would like know if it's possible to set it up so that if the user specifies only the bicycle, then all bicycles of a specified make are shown, but if they fill the colour field, then obviously only bicycles of that colour are shown.

At the moment I am only able to get it to work if both fields are entered.

tpitman is offline   Reply With Quote
Old 06-12-2003, 11:35 AM   #2 (permalink)
Registered User
 
highrock's Avatar
 
Join Date: Aug 2002
Location: US
Posts: 138
highrock is on a distinguished road
you could have a seperate query for each. one for the bicycles and one for colors. probably not what u want to do but maybe it'll help a little.
highrock is offline   Reply With Quote
Old 06-12-2003, 12:12 PM   #3 (permalink)
Registered User
 
Join Date: Jun 2002
Posts: 448
cbuddha42 is on a distinguished road
ya just make default value *
cbuddha42 is offline   Reply With Quote
Old 06-12-2003, 12:40 PM   #4 (permalink)
Registered User
 
Join Date: Jun 2002
Posts: 448
cbuddha42 is on a distinguished road
doh just rembered vb crashes on * - use moduel and IsNull to find which fields are filled in and then run query based on that information
cbuddha42 is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 05:37 AM.