Updates or specifies a resource file.
Syntax
SET RESOURCE ON | OFF
-or-
SET RESOURCE TO [FileName]
Arguments
ON
(Default) Specifies that changes made to the Visual FoxPro environment are saved to the resource file.
OFF
Specifies that changes made to the Visual FoxPro environment are not saved to the resource file.
TO [FileName]
Specifies that changes made to the Visual FoxPro environment are saved to a resource file (FileName) other than the default FOXUSER.DBF resource file.
Issue SET RESOURCE TO without a resource file name to open the default Foxuser.dbf resource file. Issuing SET RESOURCE TO performs an implicit SET RESOURCE ON.
Remarks
The resource file is a Visual FoxPro table that contains information on system and user-defined resources such as keyboard macros, preferences, system window locations and sizes, diary entries, and so on.