Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Cursor in a FrmDataManagerFormCustom
Message
De
22/06/2005 10:54:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01024357
Message ID:
01025470
Vues:
20
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform