Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursoradapter without DE
Message
From
11/01/2017 03:17:30
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01646443
Message ID:
01646492
Views:
58
what about
set path to D:\foxprogs\galileo\data\ additive
ot = CREATEOBJECT("cursoradapter")
ot.DataSourceType="NATIVE"
ot.DataSource = "galidata.dbc"
ot.Alias = "Kunden"
ot.Tables = "Kunden"
ot.SelectCmd = "select TOP 1 * from galidata!kunden order by name1"
? ot.CursorFill()
VFP heavily relies on pathes

>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
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform