×
יריב החביב
Hello,
When Open Form, I want to use two filters on that form.
But dont want to filter the form in the form data but in the code that open
it.
the code is here but it is not work. i triyed "and" statement, but no.
How to write the code ?
DoCmd.OpenForm "FRechivim_for_drisha", acNormal
DoCmd.ApplyFilter , "drisha_code = forms!Fcontract!text59"
DoCmd.ApplyFilter , "PositionTypeCode = forms!Fcontract!fdrishot!PositionCode"
thank you
When Open Form, I want to use two filters on that form.
But dont want to filter the form in the form data but in the code that open
it.
the code is here but it is not work. i triyed "and" statement, but no.
How to write the code ?
DoCmd.OpenForm "FRechivim_for_drisha", acNormal
DoCmd.ApplyFilter , "drisha_code = forms!Fcontract!text59"
DoCmd.ApplyFilter , "PositionTypeCode = forms!Fcontract!fdrishot!PositionCode"
thank you