Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Serving up Data
Message
From
22/09/2000 11:09:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Serving up Data
Miscellaneous
Thread ID:
00419750
Message ID:
00419750
Views:
42
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.
Next
Reply
Map
View

Click here to load this message in the networking platform