Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursoradapter without DE
Message
De
10/01/2017 06:40:37
 
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:
01646445
Vues:
55
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform