Page 1 of 1

FW x SQL-Server?

PostPosted: Thu Feb 22, 2018 2:34 pm
by ip_ram
¡Hola!

FW admite SQL-Server?

Si no, tiene previsto implementar el acceso?

Gracias!

Rodrigo Melo

Re: FW x SQL-Server?

PostPosted: Thu Feb 22, 2018 3:01 pm
by cnavarro
Si, busca en el foro SQL SERVER connect o algo asi

Re: FW x SQL-Server?

PostPosted: Thu Feb 22, 2018 4:11 pm
by Rick Lipkin
Rodrigo

xHarbour\Harbour support ADO .. the link below is a good starting place to familiarize yourself with Sql and Ado .. Rao has done a good job using FW wrappers to simplify the connections and recordsets .. look in \source\function\Adofuncs.prg

http://wiki.fivetechsoft.com/doku.php?i ... ted_stuffs

Rick Lipkin

Re: FW x SQL-Server?

PostPosted: Thu Feb 22, 2018 4:21 pm
by nageswaragunupudi
Connecting to MS-SQL server
Code: Select all  Expand view

oCn := FW_OpenADOConnection( { "MSSQL", cServerName, cCatalog, cUser, cPassword }, .t. )
if oCn == nil
    ? "Connect Fail"
else
    // use connection
   // example: view all table names
   XBROWSER FW_AdoTables( oCn )
   oCn:Close()
endif
 

Re: FW x SQL-Server?

PostPosted: Thu Feb 22, 2018 9:14 pm
by ip_ram
Gracias!

Vou verificar.