> * (3) This errors. Also No records
> Select All ;
>    Date(2000+Val(Substr(curTemp.cDate,7,2)), ;
>             Val(Substr(curTemp.cDate,4,2)), ;
>             Val(Substr(curTemp.cDate,1,2))) ;
>          as Date ;
>    From curTemp ;
>    Join curTemp2 on curTemp2.PK=curTemp.FK1 ;
>    Where curTemp.F1="A01" ;
>    Into Cursor curResult

Dave,

You might try changing the date expression to
CTOD(STUFF(curTemp.cDate,7,0,"20")) instead.  I'm not sure what that
would do to the performance, however.

Scott




_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to