Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pedido de HELP
Message
From
24/05/2004 14:15:19
 
 
To
24/05/2004 13:09:01
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00906598
Message ID:
00906627
Views:
17
Boa Tarde José!!!
Tudo bem??
Para vc trabalhar com acesso a dados remoto, vc deve criar uma conexão ODBC e utilizar o comando SQLCONNECT() ou criar uma string de conexão codigo abaixo:

cStrCon=["]+[DRIVER={SQL Server};DATABASE=]+cBanco+[;Server=]+cServ+[;UID=]+cUsu+[;pwd=]+cSenha+["]

nHandle2=SQLSTRINGCONNECT( Eval(cStrCon), .T. )
nHandle=SQLCONNECT(nHandle2)

If nHandle < 1
Return .f.
Endif

caso vc não tenha entendido, mande um e-mail para lribeiro@ldsoft.com.br
espero ter ajudado!!!
abraços
Luis
Previous
Reply
Map
View

Click here to load this message in the networking platform