Hello everyone,
I've got a control tab with the folowing tabs:
1. subform name "personalInfo"
2. subform name "CompanylInfo"
i want the control tab to show the relevant records according to the filter
also, i got a form name "advanced search" where the user type the desire filter.
then he click a button which open up the form with the control tab
i wrote the folowing code at the on open event of the "personal Info"
Private Sub Form_Open(Cancel As Integer)
DoCmd.ApplyFilter , sfilter '----- sfilter is my filter
End Sub
when click the button the folowing massage appears(on the apply filter row):
what shall i do???
I've got a control tab with the folowing tabs:
1. subform name "personalInfo"
2. subform name "CompanylInfo"
i want the control tab to show the relevant records according to the filter
also, i got a form name "advanced search" where the user type the desire filter.
then he click a button which open up the form with the control tab
i wrote the folowing code at the on open event of the "personal Info"
Private Sub Form_Open(Cancel As Integer)
DoCmd.ApplyFilter , sfilter '----- sfilter is my filter
End Sub
when click the button the folowing massage appears(on the apply filter row):
what shall i do???