If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
syntax error
I am trying to use the filter within the report. However, I am getting this
error message : Syntax error (missing operator) in query expression '((Query4.LastOfTerm Date) 0)' What does this mean, and how do I fix it? That is my main question. My second question is if I wanted to use the filter to get all term dates from 2 different columns (for example '((Query4.LastOfTerm Date) 0)' or '((Query5.LastOfTerm Date) 0)' is there a way to do this? |
#2
|
|||
|
|||
syntax error
Try enclosing the field name in square brackets:
Query4.[LastOfTerm Date] Since there is a space in the field name you *must* enclose the field name in square brackets. Also, since the word Date is a reserved word, Access may be trying to work with the Date function rather than the field. That may be why it identifies it as a syntax error. Or maybe it is interpreting the 0 as a date, but if so it would need to be delimited by # signs. "jpark3205" wrote in message ... I am trying to use the filter within the report. However, I am getting this error message : Syntax error (missing operator) in query expression '((Query4.LastOfTerm Date) 0)' What does this mean, and how do I fix it? That is my main question. My second question is if I wanted to use the filter to get all term dates from 2 different columns (for example '((Query4.LastOfTerm Date) 0)' or '((Query5.LastOfTerm Date) 0)' is there a way to do this? |
Thread Tools | |
Display Modes | |
|
|