Good morning all,
I can't seem to find the error in this, I'm hoping someone can shed some light. I am trying to filter a form to only show entries from this fiscal year. I have a fiscal year table that I am doing a DLookUp on. When I try to apply the filter, I get the following error:
Syntax error (missing operator) in query expression 'Between DLookUp("[startDate]","tblfiscalyrs","fiscalID=" & Forms!frmStartup!cboFiscal) And DLookUp("[endDate]","tblfiscalyrs","fiscalID=" & Forms!frmStartup!cboFiscal)'
Any ideas what's wrong with this?
Thanks in advance,
V
I can't seem to find the error in this, I'm hoping someone can shed some light. I am trying to filter a form to only show entries from this fiscal year. I have a fiscal year table that I am doing a DLookUp on. When I try to apply the filter, I get the following error:
Syntax error (missing operator) in query expression 'Between DLookUp("[startDate]","tblfiscalyrs","fiscalID=" & Forms!frmStartup!cboFiscal) And DLookUp("[endDate]","tblfiscalyrs","fiscalID=" & Forms!frmStartup!cboFiscal)'
Any ideas what's wrong with this?
Thanks in advance,
V