To change a text field in yyyymmdd format to a date field, try:
CDate(Format(TextDate, "0000\-00\-00"))
That format statement will convert the text to yyyy-mm-dd, which CDate can
then recognize.

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
> im sorry for my ignorance but i need help with i suppose a quite simple
> problem.
[quoted text clipped - 10 lines]
>
> could someone please help me ?
Sten Melin - 06 Aug 2006 10:11 GMT
Thanks Douglas, thanks a lot for your time.
"Douglas J. Steele" skrev:
> To change a text field in yyyymmdd format to a date field, try:
>
[quoted text clipped - 17 lines]
> >
> > could someone please help me ?