Accessing the filter property on a subform of a 'tabbed' control

B

Brad Pears

I have a screenon which I have a tab control. On one of the tabs, I have a
subform on which I display child records of the parent. When the user clicks
on this tab, I want to run code that sets the filter for the subform to
whatever filter the user may currently have selected.

TO do this I need to access the tab controls subform "filter" property. I
can;t seem to figure out how on earth to get there from here!!!

tabbed control = "tabctl1"
subform on the third tab (page) = "frmPurchasing-Items"

I want to set the 'filter' property of the subform named
"frmPurchasing-Items". I've tried many different ways of trying to access
it, all to no avail...

If anyone has any ideas it would be most helpful!

Thanks..
 

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