>>>I have a prg that does the following:
>>>-initializes private variables
>>>-calls a form to allow the user to change certain values
>>>-performs an SQL query in a cursor
>>>-report form
>>>
>>>Win95 french and WinNT: no problems
>>>Win95 english: locks on the 3rd run of the program
>>>Win98 english: locks on the 2nd run of the program
>>>
>>>When I say locks, I mean the mouse doesn't move, Ctrl-Alt-Del doesn't respond, after a while I get "Error writing to Drive C:" in the blue window. I can only use the Power Off switch and restart.
>>>
>>>If I don't call the form or if my SQL statement is smaller, it doesn't lock.
>>>We have two 95 and one 98 machine with that problem and it happens in 2 apps. There working fine under VFP5.
>>>
>>>Any ideas? I'm desperate.
>>>
>>>TIA
>>
>>When you SELECT ... INTO Cursor, VFP creates temporary file on local hard drive (usually C:\Temp\). It seems that your machine stops on this point. Might it be some physical corrupiton of the hard drive?
>
>-----------
>On 4 machines? It would really be a bad luck, don't you think? We ran Scandisk every time it hangs, because Windows did not shut off properly.
Make sure that wherever your TEMP or TMP environment variable is pointing that the folder actually exists! You might have to check your CONFIG.FPW for TEMPFILES location, too.