K
KimTong via AccessMonster.com
Hi,
Is anybody can tell me, how to convert from text data to Date?. I have a
table imported from Text file, text file only recognize text & number only.
One of the field (we call: TxtDate) they have is '20070515" (yyyymmdd) has to
be in date format. How can I convert it to our regular format (mm/dd/yy), so
I can calculate it?
I tried using Format(mid(TXTDate,5,2)&"/"mid(7,2)&"/"mid(3,2),"mm/dd/yy"). It
works, but I still can't use it as a date, so I can't put a parameter on it.
Thanks in advance
KF
Is anybody can tell me, how to convert from text data to Date?. I have a
table imported from Text file, text file only recognize text & number only.
One of the field (we call: TxtDate) they have is '20070515" (yyyymmdd) has to
be in date format. How can I convert it to our regular format (mm/dd/yy), so
I can calculate it?
I tried using Format(mid(TXTDate,5,2)&"/"mid(7,2)&"/"mid(3,2),"mm/dd/yy"). It
works, but I still can't use it as a date, so I can't put a parameter on it.
Thanks in advance
KF