Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a Cursor in a FrmDataManagerFormCustom
Message
From
22/06/2005 10:54:51
 
General information
Forum:
Visual FoxPro
Category:
CodeMine
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01024357
Message ID:
01025470
Views:
22
I'll try it thanks. I don't know how I missed that. Looking at the tree's and not seeing the forest. Thanks again....

>Hi Terry.
>
>>If I create a cursor in a program such as "Select * from test!cars into cursor GRP" and then run a form. What properties do I have to set in the form from the class:Frmdatamanagerformcustom to use GRP as the cursor for the data environment in that form so that the navigation keys work and etc? TIA....
>
>
>Try this, from the CodeMine manual :
>
>"The AddCursor() method allows you to manually add a new cursor to the CDE's
>set of managed cursors. When a form is opened, all cursors in the data
>environment are added to the CDE automatically. Tables and views that are
>opened manually via USE commands, however, need to be added to the CDE with
>the AddCursor() method."
>
>
>Object.AddCursor(uCursor, cParentAlias, cParentKeyExpr)
>
>
>Hope it helps.
>
>Best.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform