A
AccessUser777 via AccessMonster.com
Hi All,
Here's what I have:
TABLE1(tbl_MAIN_DISC) with the following fields:
DISC_ID=PK
DATE
USER_ID
USER
DISC_TYPE_ID
DISC_TYPE
TABLE2(tbl_DISC_TYPE) with the following fields:
DISC_TYPE_ID=PK
DISC_TYPE
The relationship I have is a 1 (tbl_DISC_TYPE) to many (tbl_MAIN_DISC).
I created a form with two combo box that populate two txt fields(USER_ID &
DISC_TYPE_ID).
I created a parameter query based on the txt fields from the form and it
works great on pulling that specific USER_ID and DISC_TYPE_ID
Is there a way to use the same form and only select the USER_ID and pull all
related records? In other words disable the DISC_TYPE_ID field so that the
parameter query is only using the USER_ID as the criterion? Is this even
possible? Or is creating two forms that pull two differnt parameter quries
the eaiset way to get this done? Is there a way to group all the
DISC_TYPE_ID into an "all" type?
Here's what I have:
TABLE1(tbl_MAIN_DISC) with the following fields:
DISC_ID=PK
DATE
USER_ID
USER
DISC_TYPE_ID
DISC_TYPE
TABLE2(tbl_DISC_TYPE) with the following fields:
DISC_TYPE_ID=PK
DISC_TYPE
The relationship I have is a 1 (tbl_DISC_TYPE) to many (tbl_MAIN_DISC).
I created a form with two combo box that populate two txt fields(USER_ID &
DISC_TYPE_ID).
I created a parameter query based on the txt fields from the form and it
works great on pulling that specific USER_ID and DISC_TYPE_ID
Is there a way to use the same form and only select the USER_ID and pull all
related records? In other words disable the DISC_TYPE_ID field so that the
parameter query is only using the USER_ID as the criterion? Is this even
possible? Or is creating two forms that pull two differnt parameter quries
the eaiset way to get this done? Is there a way to group all the
DISC_TYPE_ID into an "all" type?