FW x SQL-Server?

FW x SQL-Server?

Postby ip_ram » Thu Feb 22, 2018 2:34 pm

¡Hola!

FW admite SQL-Server?

Si no, tiene previsto implementar el acceso?

Gracias!

Rodrigo Melo
User avatar
ip_ram
 
Posts: 43
Joined: Tue Nov 21, 2006 4:07 pm
Location: Brazil / MG / Belo Horizonte

Re: FW x SQL-Server?

Postby cnavarro » Thu Feb 22, 2018 3:01 pm

Si, busca en el foro SQL SERVER connect o algo asi
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: FW x SQL-Server?

Postby Rick Lipkin » Thu Feb 22, 2018 4:11 pm

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
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: FW x SQL-Server?

Postby nageswaragunupudi » Thu Feb 22, 2018 4:21 pm

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
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: FW x SQL-Server?

Postby ip_ram » Thu Feb 22, 2018 9:14 pm

Gracias!

Vou verificar.
User avatar
ip_ram
 
Posts: 43
Joined: Tue Nov 21, 2006 4:07 pm
Location: Brazil / MG / Belo Horizonte


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 47 guests