Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formless Cursor Adapters
Message
De
04/01/2005 16:11:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Formless Cursor Adapters
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00974198
Message ID:
00974198
Vues:
48
Basically I create cursor using Data Adapters in forms.


WITH Thisform.DataEnvironment.&tcCursorName
.Alias = tcCursorName
.DataSourceType = "ODBC"
.Datasource = (oApp.nConnectionHandle)
.Name = tcCursorName
.Selectcmd = "SELECT * FROM Users "
.Tables = "Users"
ENDWITH

Now if I'm querying data outside of any form, how do I use the cursor adapter to get this data? Create a DEClass Object under _Screen and add it to it? Or is there another way of doing it?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform