Combo boxes...

  • Thread starter thewabit via AccessMonster.com
  • Start date
T

thewabit via AccessMonster.com

I have discovered that these combo boxes are on a subform. Do I have to list
the main form AND subform somewhere in the filter?
 
J

John W. Vinson

I have discovered that these combo boxes are on a subform. Do I have to list
the main form AND subform somewhere in the filter?

Yes, in the syntax

=[Forms]![mainformname]![subform].Form![controlname]

where [subform] is the name of the Subform Control on the main form (which
might be different from the Name property of the Form object within that
control).
 
T

thewabit via AccessMonster.com

Thanks John,

I will give it a try
I have discovered that these combo boxes are on a subform. Do I have to list
the main form AND subform somewhere in the filter?

Yes, in the syntax

=[Forms]![mainformname]![subform].Form![controlname]

where [subform] is the name of the Subform Control on the main form (which
might be different from the Name property of the Form object within that
control).
 
T

thewabit via AccessMonster.com

John,

Would I find the subform control in the properties of the main form?
I have discovered that these combo boxes are on a subform. Do I have to list
the main form AND subform somewhere in the filter?

Yes, in the syntax

=[Forms]![mainformname]![subform].Form![controlname]

where [subform] is the name of the Subform Control on the main form (which
might be different from the Name property of the Form object within that
control).
 
T

thewabit via AccessMonster.com

Nevermind...I got it working...I forgot to put the requery back in.

Thanks John!
John,

Would I find the subform control in the properties of the main form?
[quoted text clipped - 6 lines]
might be different from the Name property of the Form object within that
control).
 
T

thewabit via AccessMonster.com

Getting closer but new problem.

The 2nd combo box which displays records based on the selection of the first,
only displays records for first 9 selections in the top box. When 10-42 is
selected in the first box, no records will show in the second box. Is this a
properties setting?


Nevermind...I got it working...I forgot to put the requery back in.

Thanks John!
[quoted text clipped - 5 lines]
 
T

thewabit via AccessMonster.com

I solved my problem...disregard.
Getting closer but new problem.

The 2nd combo box which displays records based on the selection of the first,
only displays records for first 9 selections in the top box. When 10-42 is
selected in the first box, no records will show in the second box. Is this a
properties setting?
Nevermind...I got it working...I forgot to put the requery back in.
[quoted text clipped - 5 lines]
 

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

Top