G
Gurtz
Hello,
I am having trouble setting the RowSource of a listbox
from outside the form. ie:
Form1 has 'LBox', and in a click event in Form2, the
following code executes:
Forms![Form1]![LBox].RowSource = "Some SQL stuff"
Forms![Form1]![LBox].Requery
DoCmd.Close
thereby closing the form after adjusting a search query.
Even when "Some SQL stuff" is simply a hard-coded,
simplistic query, the listbox is not updating with any
results.
What am I missing, here?
Thanks for your help, guys!
Gurtz
[email = no $]
I am having trouble setting the RowSource of a listbox
from outside the form. ie:
Form1 has 'LBox', and in a click event in Form2, the
following code executes:
Forms![Form1]![LBox].RowSource = "Some SQL stuff"
Forms![Form1]![LBox].Requery
DoCmd.Close
thereby closing the form after adjusting a search query.
Even when "Some SQL stuff" is simply a hard-coded,
simplistic query, the listbox is not updating with any
results.
What am I missing, here?
Thanks for your help, guys!
Gurtz
[email = no $]