Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to do ODBC connection to Paradox?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00666253
Message ID:
00666316
Vues:
14
>>This may be a dumb question ... but does anyone out there know how to connect to a Paradox database from VFP using ODBC? I tried a way that works with Access, but the Paradox ODBC drivers appear to work a lot differently.
>
>What exactly is the problem? Did you try to create DSN using ODBC Manager?

Hi Sergey,

Yes, I created the DSN, that was the first thing I did. The driver for Paradox is quite a bit different from the Access driver. About all it does is allow you to give the DSN a name and tell it where to find tables. I named the DSN "ParadoxGeneric"

I created a DBC (pdxView.dbc), and did the Create Connection,

Create Connection (this.cConnection) DataSource (This.cConnection)
where This.Connection = "cxnParadoxGeneric"
and This.DataSource = "cxnParadoxGeneric"

When I use similar code with an Access DSN, I can get to the tables with a

Create SQL View viewTableName Connection (This.cConnection) ;
as select * from TableName

but this code fails on the Paradox connection.

Any ideas??? I am definitely not a master at this!

Thanks muchly!
Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform