C
CorporateQAinTX
So far everyone has been so helpful. Thanks.
Here goes another issue.
I've built a form for entering parameters into a query. The query is setup
to accept the data entered into the different controls on the form. In all
there are 20 possible variables broken up into 7 sections. Each section can
give a specific parameter or there is an option to enter all (haven't quite
figured out how to set up that in code yet). Most of the choices are based in
Option Groups, so there is only one choice that can be chosen. However, if
you choose a specific option then a combo box is enabled so you can be even
more specific. Or you can leave it blank, which I also think is causing a
problem.
Confused yet?
So you can look for a certain product or generic product type, looking in
all departments or a specific department, on all shifts or a specific one,
and yada yada yada.
I can't figure out if it's possible to make a query that will accept all of
these variables or be able to distinguish if one is null and to disregard it.
Should I just create 15 or 20 different queries? My problem is, what if
someone wants to look at a specific product produced within a time frame from
a certain shift and machine? If I can create a query that will do that as
well as a generic what items are in the table in this time frame it would be
great.
Any suggestions?
Here goes another issue.
I've built a form for entering parameters into a query. The query is setup
to accept the data entered into the different controls on the form. In all
there are 20 possible variables broken up into 7 sections. Each section can
give a specific parameter or there is an option to enter all (haven't quite
figured out how to set up that in code yet). Most of the choices are based in
Option Groups, so there is only one choice that can be chosen. However, if
you choose a specific option then a combo box is enabled so you can be even
more specific. Or you can leave it blank, which I also think is causing a
problem.
Confused yet?
So you can look for a certain product or generic product type, looking in
all departments or a specific department, on all shifts or a specific one,
and yada yada yada.
I can't figure out if it's possible to make a query that will accept all of
these variables or be able to distinguish if one is null and to disregard it.
Should I just create 15 or 20 different queries? My problem is, what if
someone wants to look at a specific product produced within a time frame from
a certain shift and machine? If I can create a query that will do that as
well as a generic what items are in the table in this time frame it would be
great.
Any suggestions?