In cGlobalEnvironment.SetResource
The declared logic is that if: .cResourceTo is empty and .cResource is ON then use HOME()+Foxuser.dbf as the resource file.
In fact:
IF this.cresource = "ON" SET RESOURCE OFF ELSE ......
So if .cresource is ON and .cresourceTo is empty then resource can never be on!
should read: IF !THIS.cResource = "ON" rest of code
or add an extra trap for .cResourceTo populated.
©2000 graeme thomson |