P
Paul James
I would like to use VBA to change the criteria for a query field to set it
equal to the value entered by a user in a form field. I'm currently using
DAO in my class modules, but I'm planning on migrating to ADO within the
next couple of months, so it would help if I had code to do this in both.
It would help if any example could use the following names for my objects:
query: qryOvertime
query field: StartPeriod
form: frmMgtReport1
form control: cboStartPeriod
Thanks in advance,
Paul
equal to the value entered by a user in a form field. I'm currently using
DAO in my class modules, but I'm planning on migrating to ADO within the
next couple of months, so it would help if I had code to do this in both.
It would help if any example could use the following names for my objects:
query: qryOvertime
query field: StartPeriod
form: frmMgtReport1
form control: cboStartPeriod
Thanks in advance,
Paul