Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor Adapter - ODBC
Message
 
À
22/11/2003 15:29:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00852253
Message ID:
00853188
Vues:
15
>thank you for your message. i have problem. i have never used CA.
can you send me code fto connect sqlserver database and some advice
like what you have done ?


Well actually, there's not too much I can tell You. If You use the Builder
You will see that it is fairly easy to connect to almost any kind of datasource.

As a startup do the following
1. buy Visual FoxPro 8.0 if You don't have it <g>
2. call
create class myCA as cursoradapter
3. When the class-designer opens, rightclick on the CursorAdapter and select "Builder"

The rest should be almost selfdeclaring, especially if You do not have to write into
the source but only use it for reading data.

Later when You have saved Your Class simply issue
loMyCA = NewObject("myCA", <classlib>)
? loMyCa.CursorFill()
if true
select (loMyCA.Alias)
browse normal
HTH
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform