Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Temporary Cursor in oDataEnvironment
Message
 
To
08/09/2002 16:54:52
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00698069
Message ID:
00698072
Views:
14
Hi Mark,

I've never done this, but the Abstract Factory Dataenvironment opens it's table with a USE command, so I think you could put a CREATE CURSOR or SELECT ... INTO at the same place where the classes table is opened. Have a look at

* Library: Cdataenv.vcx
* Class: Abstractfactoryenvironment
* Method: Init()

You could also think of an own Data Access class for this task that works like cSQLPassThrough but works on local tables.

HTH,
Armin


>Hi,
>
>The data access type in a MM BizObj's dataenvironment can be a Table, View or SQL pass through. But how can a BizObj use a temporary cursor (VFP's CREATE CURSOR command) in a way that all available MM data manipulation methods and object references can still be used?
>
>Since the MM builder cannot be used (temporary cursor doesn't exist at development time), where and when this temporary cursor has to be created so it will be 'available' at run time?
>
>Mark

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform