On page 109 of the Developer's Guide is the following:
Business objects possess corresponding SetDataFormat and GetDataFormat methods which set and get the current data format of a business object. For example, you can run the following code from the Visual FoxPro Command Window for the sample Project Manager:
oApp = CREATEOBJ("ProjMgr.ProjMgrCOM") && Instantiate the app object
?oApp.GetDefaultDataFormat() && Returns a 3 (XML)
oProjects = CREATEOBJ("ProjMgr.ProjectsObj")
?oApp.GetDataFormat() && Returns a 3 (XML)
oProjects.Requery() && Requery the Projects obj
?oProjects.GetData() && Displays records in XML
*--* when I type the first line in the command window I get:
Class definition PROJMGR.PROJMGRCOM is not found.
Can anyone explain this to me.
Thanks
Dennis
Dennis Collins
TRACKUM, Inc.