Hi, folks!
Had a delete query which got its criteria value from a listbox control on a form when selection in listbox was clicked.
Criteria in query = Forms!MyForm!MyListbox
This worked just fine.
Then the form which contained the listbox control was changed to a SUBform. Now, criteria in delete query no longer can find the listbox control (form name remained the same, just became the Source for the subform).
Have tried multiple variations to get syntax in criteria correct, but cannot find the one that works.
How does one "address" a control on a subform so that a query can "find" it?
Thanks for any help. You folks have been VERY, VERY helpful in the past!
Respectfully,
drs84@hotmail.com
Had a delete query which got its criteria value from a listbox control on a form when selection in listbox was clicked.
Criteria in query = Forms!MyForm!MyListbox
This worked just fine.
Then the form which contained the listbox control was changed to a SUBform. Now, criteria in delete query no longer can find the listbox control (form name remained the same, just became the Source for the subform).
Have tried multiple variations to get syntax in criteria correct, but cannot find the one that works.
How does one "address" a control on a subform so that a query can "find" it?
Thanks for any help. You folks have been VERY, VERY helpful in the past!
Respectfully,
drs84@hotmail.com