ListBox help

  • Thread starter Thread starter alex
  • Start date Start date
A

alex

Hello,

Using Access ’03…

I have a bound listbox on a subform that uses a query as its row
source. In that query, I’d like to use the value of another bound
listbox (on the same form) in the criteria.

Can I do that?
This does not seem to work: [forms]![mysubform]![lstbox]

I know that I can use the value of an unbound listbox on the main
form.

Thanks,
alex
 
The syntax for referring to a control on a subform is;

Forms!MainForm!SubformControl.Form!NameOfControl

SubformControl refers to the control (the window) that holds
the subform, which may, or may not, have the same name as
the subform itself, depending on how you added the subform.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Evaluate ListBox Value 8
Lost Connection to ListBox 4
Access Cannot select items in listbox 1
Requery listbox 1
Open Form based on Listbox 2
Listbox query 3
change value After Update 1
Print values of a listbox 2

Back
Top