Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC to OLEBD problems
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COMCodebook
Divers
Thread ID:
00728574
Message ID:
00728586
Vues:
16
I would guess you would need to do a bit of a refit to get COMCodeBook to use OLE-DB providers. If it is using SQLConnect() which only works with ODBC, changing the connect string will fail. Also, are you sure the Native data access uses ODBC as opposed to the native data engine?

The easiest refit would probably be to use the CursorAdapter in VFP 8.0 to gather data, this would support Native for VFP data and ADO for OLE-DB providers with the same interface.

BOb


>It seems that when I executed the wizard to build my test COMCodeBook app, that the VFP database calls defaulted to ODBC connections. The problem with this is that ODBC is no longer supported/maintained my MS and that OLEDB should be the way to access the backend VFP data. OLEDB allows me to execute Stored Procedures in the DB which I need. So I changed the ConnCfg to use VFPOLEDB instead of MSDASQL.1 but I don't think COMCodeBook can handle this change as the COM controls errored in several places. Does anyone know of or have any success in getting the COMCodeBook to use OleDB VFP data source and if so can you share what changes in COMCodeBook need to be done in order to do this.
>
>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform