Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor Adapter - ODBC
Message
 
To
22/11/2003 15:29:29
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00852253
Message ID:
00853188
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform