Good morning. I have to fields I need to join in a query, but one is in the date format of xx/xx/xxxx [FYE] and the other just as year xxxx [FiscalYear].
How can I change the FYE field to the year format only for the purpose of running a query?
FROM [AUDIT REVIEWS],[ dbo_localUnitAudit]
INNER JOIN audit reviews ON RIGHT (Audit reviews.[fye 2000],4) = dbo_localunitaudit.fiscalyear;
I tried to read into your lead out here and plug in my table names and date fields, however this query will not run and I'm not seeing where I'm going wrong.
There shouldn't be a space following "RIGHT" which I would expect to see as "Right(....)". Also, if you allow spaces in your table and field names, you will always need to remember to enclose the individual names in []s.
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
I didn't name the tables in this case, but thought I had [] around them everywhere.
I did delete the space after the word "RIGHT" but it still does not run for me.
PHV, I'm getting the two suggestions mixed up in terms of what I am suppose to do. Do I do a normal join and then do the filtering your suggesting? I did the following and of course received an error:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.