I need to constrain a query based on the alias that I created for a column. I have one that works and another that doesn't.
The following works:
RDate: [PUB_PSHISTOR]![PSH-Date] is in the line of the QBE Grid
#7/17/2014# is in the criteria line for the above and it works fine.
neither of the following work following does not work
RCode: [PUB_PSHISTOR]![PSH-TC] in the field line
Between 1001 and 1100
Between "1001" and "1100"
But if I just put the PSH-TC in the criteria field and put between 1001 and 1100
ACCESS puts the quotes in and it works fine.
Thanks for the help in advance
jpl
The following works:
RDate: [PUB_PSHISTOR]![PSH-Date] is in the line of the QBE Grid
#7/17/2014# is in the criteria line for the above and it works fine.
neither of the following work following does not work
RCode: [PUB_PSHISTOR]![PSH-TC] in the field line
Between 1001 and 1100
Between "1001" and "1100"
But if I just put the PSH-TC in the criteria field and put between 1001 and 1100
ACCESS puts the quotes in and it works fine.
Thanks for the help in advance
jpl