Amigos,
preciso conectar em um banco SQL SERVER, podem me indicar qual ferrramenta utilizar?
E se possível algum exemplo!
obrigado
LOCAL aDsn:=OdbcDsnEntries()
LOCAL cDsn:=aDsn[1] ,cLogin,cPass,lFields:=.F.
LOCAL cTable:="Nombredelatabla"
oODbc:=TODBC():New(cDsn, cLogin, cPass )
IF !lFields
oOdbc:lDateAsStr:=.T.
ENDIF
cSql :="SELECT * FROM "+cTabla
oTable :=oOdbc:Query(cSql)
aData :=ACLONE(oTable:aFill())
aFields:=ACLONE(oTable:aFields)
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot], russimicro and 43 guests