Bill,
Have you removed the sys(3050) call to be see if the header corruption is really caused by that command?
And have you noticed a substantial improvement in performance? I ask this because we found no improvement at all, although we were using a different network setup. We had no header corruption, but the command was not left in the system for long since it gave us no improvement.
Barbara
>Has anyone out there ever encountered problems using the sys(3050) function?
>
>Recently I added the following code to my application in an effort to improve performance:
>
>=sys(3050,1,Val(sys(3050,1,0)) / 3)
>
>Since that time my app has been experiencing periodic header corruption in a specific table. The table is part of a DBC and the application updates it using optimistic row buffering. I have not yet been able to re-create the probelm.
>
>The main symptom is a 'record out of range' message.
>
>The app was created using VFP 5.0a and runs as an EXE on a novell 3.12 network. The shortcuts to the EXE reside on NT 4.0 workstations running SP3.
>
>I did find one MS article (ID Q164385) that mentions possible file corruption when using the sys(3050) function.