John,
Good idea, but you need to be sure that the drive you're writing to supports long file names. For example, Netware drives without OS/2 namespace support loaded don't support LFNs.
>Richard ----
>
>You are correct in that SUBSTR(SYS(2015),3,10) would generate an error today with SELECT ... INTO CURSOR. However, if you are running VFP5 you're obviously in a Win32 environment....why not just use the *whole* SYS(2015) tag for the cursor/tempfile name?
>
>