Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conexão com Database do Access
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00694115
Message ID:
00694125
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform