0

hi,

this is my code
If dr(DbaseExpiryDate) > Format(Now, "M/dd/yyyy") Then

id i run this code it gives error with
IndexOutOfRangeException was Unhandlled

this is the output of the date
DbaseExpiryDate= 3/31/2011
now= 3/24/2011


Please guide me....whats wrong even i have format the date it doesn't work at all....
Please Help Me !!!

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by swathys
0

hi,

ok i got it...it's not wrong wt the way i format the date...its working well after i do like this If DbaseExpiryDate < Format(Now, "M/dd/yyyy") Then

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.