×
יריב החביב
Hello,
Once, i have got here from allen browne the method to ApplyFilter with
more then one categorys and it work good, but not when one
of the category is date and the other number. how can it be done ?
here what allen gave
strWhere1 = "(SaleryYear = " & Forms!FHachnasesyotMain!shana & ")"
strWhere2 = "(Salerymonth = " & Forms!FHachnasesyotMain!hodesh & ")"
strWhere = strWhere1 & " and " & strWhere2
DoCmd.OpenForm "FHachnasesyotFill", WhereCondition:=strWhere
Thank you
Once, i have got here from allen browne the method to ApplyFilter with
more then one categorys and it work good, but not when one
of the category is date and the other number. how can it be done ?
here what allen gave
strWhere1 = "(SaleryYear = " & Forms!FHachnasesyotMain!shana & ")"
strWhere2 = "(Salerymonth = " & Forms!FHachnasesyotMain!hodesh & ")"
strWhere = strWhere1 & " and " & strWhere2
DoCmd.OpenForm "FHachnasesyotFill", WhereCondition:=strWhere
Thank you