Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter data in a Grid RecordSource
Message
 
 
To
22/03/2004 10:36:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00888525
Message ID:
00888607
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform