main logo
Subject: set resource error
Author: graeme thomson
Posted: 2000/11/06 03:24:42
 
View Entire Thread
New Search


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
<-- Prior Message New Search Next Message -->