J
Jen
I'm trying to allow a user to select several values in a
list box (on a dialog box form), then use these values as
criteria for an update query.
I have successfully concatenated the list box values and
stored them in an invisible text box (txtCriteria) on the
dialog box. The value in this text box looks something
like
"MBI 426-" OR "MBI 444A" OR "MBI 542-"
On my dialog box, clicking OK concatenates the values and
stores them in the text box. Then, it runs the update
query.
The update query is set up to select for Forms!DialogBox!
txtCriteria, and update these records to reflect the
current date in another field. However, whenever I run
the update query it finds 0 rows.
Has anyone done this successfully, or have any pointers?
list box (on a dialog box form), then use these values as
criteria for an update query.
I have successfully concatenated the list box values and
stored them in an invisible text box (txtCriteria) on the
dialog box. The value in this text box looks something
like
"MBI 426-" OR "MBI 444A" OR "MBI 542-"
On my dialog box, clicking OK concatenates the values and
stores them in the text box. Then, it runs the update
query.
The update query is set up to select for Forms!DialogBox!
txtCriteria, and update these records to reflect the
current date in another field. However, whenever I run
the update query it finds 0 rows.
Has anyone done this successfully, or have any pointers?