G
Guest
I have a subform that is based directly on a table called tbl_WizardReqEnv.
It is a stagnant set of 5 records that only serve as a switch.
All I want to do is determine that at least one or more of these records
"req" field which is a yes/no field - is checked or not.
so I have a routine as follows:
if DCount("*", "tbl_WizardReqEnv", "[Req] = " & -1) < 0 then
msgbox "Please select at least one environment before proceeding"
end if
But for some reason, it's always off by a refresh or something -- What can
I do to assure my DCount gives me the results I'm looking for as soon as I
make changes to the subform?
Thanks
It is a stagnant set of 5 records that only serve as a switch.
All I want to do is determine that at least one or more of these records
"req" field which is a yes/no field - is checked or not.
so I have a routine as follows:
if DCount("*", "tbl_WizardReqEnv", "[Req] = " & -1) < 0 then
msgbox "Please select at least one environment before proceeding"
end if
But for some reason, it's always off by a refresh or something -- What can
I do to assure my DCount gives me the results I'm looking for as soon as I
make changes to the subform?
Thanks