Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursoradapter without DE
Message
From
10/01/2017 06:40:37
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01646443
Message ID:
01646445
Views:
54
works definately without DE. Creating a cursor with the alias a table usually opens needs a bit more tap-dancing, but also is doable to retro-fit existing apps with CA from direct table usage.


>Hi there,
>
>how can I iuse a cursoradapter wothout placing it in the DE? I tried
>
>
>ot = CREATEOBJECT("cursoradapter")
>ot.DataSourceType="NATIVE"
>ot.DataSource = "D:\foxprogs\galileo\data\galidata.dbc"
>ot.Alias = "Kunden"
>ot.Tables = "Kunden"
>ot.SelectCmd = "select TOP 1 * from kunden order by name1"
>? ot.CursorFill()
>
>
>If I try this in the commandline-window it asks for the table. I thought the CA would do this. What else do I have to do?
>
>Thanks in advance
>
>Thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform