Jump to content
Fivewin Brasil

Como conectar o SQL


servass

Recommended Posts

BOM DIA

ALGUEM TERIA UM EXEMPLO DE COMO SE CONECTAR A UM BANCO DE DADOS MS SQL, SEJA VIA ODBC OU NÃO, ADQUIRI O FWH25, MAS NÃO CONSIGO FAZER A CONEXÃO . SOU LEIGO NO HARBOUR , ENTÃO ACONTECEM ERROS NA COMPILAÇÃO COM O BCC55 QUE NÃO ENTENDO

SE ALGUEM PUDER ME AJUDAR FICO GRATO

ANTONIO

antonio.pereira@intermedbr.com.br

Link to comment
Share on other sites

servass,

vc já olhou os exemplos do fwh?

de uma olhada em:

c:\fwh\samples\mssql.prg

c:\fwh\samples\testsql1.prg

c:\fwh\samples\testsql3.prg

eu fiz uma rotina aqui para acessar o MySQL, não a testei ainda... se naum me engano todas as que te passei usam a classe TOdBc. Dei uma parada nas minhas pesquisas com relação a isso.. o coisa chata!!!

Ah! e não se eskeça de instalar os drivers dos BDs.

Abraços

Guilherme Gonçalves

Campinas-SP

xHarbour 99.3/Bcc55/FWh2.5/Workshop

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...