Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conexão com Database do Access
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00694115
Message ID:
00694125
Vues:
11
This message has been marked as a message which has helped to the initial question of the thread.
>Recebo de um fornecedor informações em um BD do Access(MDB).
>Criei views remotas, adicionando um datasource ODBC no (Fontes de Dados ODBC, lá em painel de controle...).
>Só que a máquina foi reinstalada e a rotina não funciona mais devido a isso. Como faço isso via programação, ou seja em uma linha eu crio a conexão e após gero as views remotas?


Veja os seguintes documentos no Wiki:

http://fox.wikis.com/wc.dll?Wiki~VFPCommandSQLStringConnect
http://fox.wikis.com/wc.dll?Wiki~ProgrammaticallyCreatingDSNs~VFP

Para o 'string' de coneção, veja o sitio de Carl Prothman:

http://www.able-consulting.com/ADO_Conn.htm#ODBCDriverForAccess

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform