Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursoradapter without DE
Message
De
11/01/2017 03:17:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01646443
Message ID:
01646492
Vues:
59
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform