Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter data in a Grid RecordSource
Message
 
 
À
22/03/2004 10:36:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00888525
Message ID:
00888607
Vues:
11
In the grid Init, you could put:

THIS.RecordSource = "ODBC_CCS"

If that is too soon, then you need to set the grid RecordSource AFTER your CA is instanciated.

FOr examples of Oracle and the CA, click the FoxPro Tools link at http://www.mctweedle.com and download my CA files. All source code is include and is all free to use.

>I made an ODBC CursorAdapter its alias name is ODBC_CCS i made the code myself not the builder.
>
>code:*-*
>
>odo = Createobject("CursorAdapter")
>odo.DataSourceType="ODBC"
>odo.alias="ODBC_CCS"
>odo.Datasource=Sqlstringconnect("DRIVER=SQL Server;Network=DBMSSOCN;SERVER=172.27.26.12;database=operaciones;uid=operaciones;pwd=rachel")
>odo.SelectCmd="select * from vw_matriz"
>odo.CursorFill()
>
>*-*
>Here my questions how can i put this result (the cursor) in a grid RecordSource ?
>and what is the datasource code for a Oracle Database ?
>
>Nota: my form doesn't has the cursor adapter in it, how it was coded it.
>
>thx.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform