I have a field named DATE1 = 03/12/2009
an dhave field Month and field Year ...
How to update Month and Year fields only with Year format YYYY and Month format MM
un this case Year 2009 and Month 12
month and year are text format
UPDATE field with year and month
-
- PlatinumLounger
- Posts: 4370
- Joined: 26 Apr 2010, 17:36
UPDATE field with year and month
Last edited by sal21 on 29 Nov 2010, 21:37, edited 1 time in total.
-
- Administrator
- Posts: 78629
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: UPDATE field with year and month
I don't understand your question.
(You haven't reacted to the replies to your previous three threads... )
(You haven't reacted to the replies to your previous three threads... )
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4370
- Joined: 26 Apr 2010, 17:36
Re: UPDATE field with year and month
In effect i have this 3 fields:HansV wrote:I don't understand your question.
(You haven't reacted to the replies to your previous three threads... )
DATE1 Year Month
12/12/2005
11/11/2006
....
i need with a query
DATE1 Year Month
12/12/2005 2005 12
11/11/2006 2006 11
....
update the field Year and Month...
-
- Administrator
- Posts: 78629
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: UPDATE field with year and month
Oh, OK.
Year: Year([DATE1])
Month: Month([DATE1])
Was that so difficult?
Year: Year([DATE1])
Month: Month([DATE1])
Was that so difficult?
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4370
- Joined: 26 Apr 2010, 17:36
Re: UPDATE field with year and month
TKS! WORK!HansV wrote:Oh, OK.
Year: Year([DATE1])
Month: Month([DATE1])
Was that so difficult?
But sorry me... my Boss love Access... me not!
for my Boss all is so simple