|
-
Nov 8th, 2005, 05:05 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] How to format to Just Year in MS Access
Hi,
I have a date value i.e 29/09/2005,
I understand that I can format this in the underlying query to be just 2005. So I can Order by it.
-
Nov 8th, 2005, 05:06 AM
#2
Re: How to format to Just Year in MS Access
have you tried Year(Field)?
-
Nov 8th, 2005, 05:11 AM
#3
Thread Starter
Frenzied Member
Re: How to format to Just Year in MS Access
In the query designer in the field column it tried
YEAR(DATE OF DELIVERY)
It tells me the expression I entered contains invalid syntax.
-
Nov 8th, 2005, 05:13 AM
#4
Thread Starter
Frenzied Member
Re: How to format to Just Year in MS Access
Works.
InstallDate: Year([DATE OF DELIVERY])
-
Nov 8th, 2005, 05:15 AM
#5
Re: [RESOLVED] How to format to Just Year in MS Access
If your field name have spaces then it's a rule to enclose them in brackets...
Glad it worked.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|