D
deb
Access2003
I have a form called fMOrderSearch.
On the form I created an Option group called optRecSource using 2 checkboxes.
Check56 -Option Value 1 and Check58 -Option Value 2
I would like to change the forms recordsource according to which check box
is selected.
If Option Value 1
SELECT ApprovalStatus, CCode, CCodeDetail, CurrentQueue, Desc, EDate, Yr1,
Yr2, Yr3, Yr4, CustName FROM tNonconformance ORDER BY tNonconformance.EDate
DESC;--
If Option Value 2
SELECT ApprovalStatus, CCode, CCodeDetail, CurrentQueue, Desc, EDate, Yr1,
Yr2, Yr3, Yr4, CustName FROM tMYNonconformance ORDER BY
tMYNonconformance.EDate DESC;--
Thanks in advance
deb
I have a form called fMOrderSearch.
On the form I created an Option group called optRecSource using 2 checkboxes.
Check56 -Option Value 1 and Check58 -Option Value 2
I would like to change the forms recordsource according to which check box
is selected.
If Option Value 1
SELECT ApprovalStatus, CCode, CCodeDetail, CurrentQueue, Desc, EDate, Yr1,
Yr2, Yr3, Yr4, CustName FROM tNonconformance ORDER BY tNonconformance.EDate
DESC;--
If Option Value 2
SELECT ApprovalStatus, CCode, CCodeDetail, CurrentQueue, Desc, EDate, Yr1,
Yr2, Yr3, Yr4, CustName FROM tMYNonconformance ORDER BY
tMYNonconformance.EDate DESC;--
Thanks in advance
deb