PDA

View Full Version : make a vba filter works on subform opening



laghetto
08-23-2011, 11:55 AM
Hi,
i have a form with a text box that works as a filter by vba code (on click or on change)
the box has a preset value.
i need that when the form is open the filter shows record that have that value.

is it possible?

best regards
PS i don'k know vba!

geekgirlau
08-24-2011, 08:07 PM
In the form's OnOpen action, use the same code as you have for the text box