Hi,
I am not sure how to fix the following SQL statement written in VBA in order for it to work properly:
I keep getting a syntax error when I click on the command button and VBA editor points to this piece of code.
- thanks in advance
I am not sure how to fix the following SQL statement written in VBA in order for it to work properly:
Code:
strSQL ="SELECT FiscalYear, WorkingDays from tblFiscalYear " &_
"where FiscalYear = " & arrYears(currentFYToken)
I keep getting a syntax error when I click on the command button and VBA editor points to this piece of code.
- thanks in advance