C
cmichaud
I have a form that has three unbond combo boxes (age, sex, city).
These combo boxes have a select all option and are used to fill the
parameters of a query. The query sql is
SELECT tblClubInfo.Name, tblClubInfo.Leader, tblClubInfo.ContactPhone,
tblClubInfo.ContactEmail, tblClubInfo.MeetingPlace,
tblClubInfo.MeetingOccurance, tblClubInfo.SexesID, tblClubInfo.AgesID,
tblClubInfo.CityID
FROM tblClubInfo
WHERE
(((IIf(forms!frmclubsearch!agesID="(All)","",tblClubInfo.AgesID=forms!frmclubsearch!AgesID))<>False)
And
((IIf(forms!frmclubsearch!CityID="(All)","",tblClubInfo.CityID=forms!frmclubsearch!CityID))<>False)
And
((IIf(forms!frmclubsearch!SexesID="(All)","",tblClubInfo.SexesID=forms!frmclubsearch!SexesID))<>False));
i took this query and dragged it onto the form, making a query subform.
The thing is i dont know how to make it possible for me to enter
values on the form, submit it to the query, and have the results show
in the query subform....and then have the capability to do it all over
again without closing it.
Can someone give me an idea, i would appreciate it. Thanks.
These combo boxes have a select all option and are used to fill the
parameters of a query. The query sql is
SELECT tblClubInfo.Name, tblClubInfo.Leader, tblClubInfo.ContactPhone,
tblClubInfo.ContactEmail, tblClubInfo.MeetingPlace,
tblClubInfo.MeetingOccurance, tblClubInfo.SexesID, tblClubInfo.AgesID,
tblClubInfo.CityID
FROM tblClubInfo
WHERE
(((IIf(forms!frmclubsearch!agesID="(All)","",tblClubInfo.AgesID=forms!frmclubsearch!AgesID))<>False)
And
((IIf(forms!frmclubsearch!CityID="(All)","",tblClubInfo.CityID=forms!frmclubsearch!CityID))<>False)
And
((IIf(forms!frmclubsearch!SexesID="(All)","",tblClubInfo.SexesID=forms!frmclubsearch!SexesID))<>False));
i took this query and dragged it onto the form, making a query subform.
The thing is i dont know how to make it possible for me to enter
values on the form, submit it to the query, and have the results show
in the query subform....and then have the capability to do it all over
again without closing it.
Can someone give me an idea, i would appreciate it. Thanks.