Dates - Calculations in access from imported data (1 Viewer)

alcifer_c

Registered User.
Local time
Today, 14:37
Joined
Jun 3, 2002
Messages
42
Good day,
Need to use something along the lines of date-1 on a linked ODBC table. Problem is that the date is a numeric format displaying: yyyymmdd.
The fact that it is numeric makes it easy for calculations, but not if I want to compare to date() as it is in access.

Thanks for any suggestions,

Al
 

Mile-O

Back once again...
Local time
Today, 14:37
Joined
Dec 10, 2002
Messages
11,316
You can create a calculated date field:

i.e.

MyDate: DateSerial(Left([DateField], 4), Mid([DateField], 5, 2), Right([DateField], 2))
 

alcifer_c

Registered User.
Local time
Today, 14:37
Joined
Jun 3, 2002
Messages
42
Splendid!!

Now my plans to take over the world are almost complete...

Thanks, Al
 

Users who are viewing this thread

Top Bottom