Help Match two dates as same

eddii

Registered User.
Local time
Today, 23:01
Joined
Oct 10, 2011
Messages
55
i have two fields or expressions

sysduedate date format ( mm/dd/yyyy )
it has 04/28/2011 ( apr/28/2011 )

and

Nextduedate date format ( mm/dd/yyyy )
it has 04/08/2011 ( apr/08/2011 )

both are tables are joined by a query

now i am not able to match because days are different

how to only match month and year
like apr/2011 and apr/2011 so that it matches and i get result matches
 
In DatePart() how to use to get month and year

it gives only month or year
 
eddii,

You have it already in your OP. Format it to only include the Month (i.e. mm) and Year (i.e. yyyy)
 
thanks : Re: Help Match two dates as same

thanks vbaInet
thanks John Big Booty

i will do it and get back to you tomorrow

thank you once again for the fast response
 
Thank you very much Re: Help Match two dates as same

vbaInet & John Big Booty
Thanks you very much

i have used

formatfor: Format([nextcalduedate],"mm/yyyy")

i got the problem solved by using format function but will it work if i give in
query properties format directly to [nextcalduedate]
 
Re: Thank you very much Re: Help Match two dates as same

i got the problem solved by using format function but will it work if i give in
query properties format directly to [nextcalduedate]
You will need [nextcalduedate] in the same format too.
 
thanks vbaInet

thanks for teaching, now iam able to understand things how they work as old was in text format
 

Users who are viewing this thread

Back
Top Bottom