>I find a interest problem which may be a bug in VFP .
>When I programming in VFP 6.0 ,the date format of CTOD is dd-mm-yy
>But when I compile it to exe ,the date format of CTOD is mm-dd-yy
>Any idea about it ?
>Thx
>
>Regards
>JK
The first relies on your settings within the VFP enviornment
Once you go into an .EXE VFP will look to Windows for guidance.
You should have a startup program which sets these global enviornment settings (1 word of warning if you are using private data sessions this gets reset within each session)
HTH
Will Jones