Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Serving up Data
Message
De
22/09/2000 11:09:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Serving up Data
Divers
Thread ID:
00419750
Message ID:
00419750
Vues:
41
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform