My code allows you to run tests in VFP w/o need of any modifications to your code and will do nothing in FPD.
>Sorry, Sergey. I didn't make myself clear. I meant that for testing purposes I've been running this from my VFP env., so I can use the multi-window facilities, the mouse, setting break-points in the code, etc., etc., - all the reasons why VFP is superior to FPD. However, the progs are from an FPD app. and, after debugging, they'll return to such and be compiled back in the orig, system.
>
>>
>>>Thanks Sergey but what would be the point of putting this in the program when I KNOW it's only run in DOS? BTW, I'm scheduled to replace ALL this sorry suite of FPD progs with a new VFP system :-)
>>>
>>>>
#IF "VISUAL" $ UPPER(VERSION())
>>>> SET STRICTDATE TO 0
>>>>#ENDIF
>>>>
--sb--