Search found 96 matches: todbc

Return to advanced search

Re: use Result of SQL Query like "ADODB.Recordset"

Do you mean you want to connect using ODBC driver natively and not through ADO? You can do it, though it is a thing of the past. FWH provides todbc.prg and todbcrdd.prg and more You can also test TOdbcDirect class in tdbodbcd.prg To be honest, I tested TOdbc class of FWH some decades back with ...
by nageswaragunupudi
Fri Jun 30, 2023 12:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: use Result of SQL Query like "ADODB.Recordset"
Replies: 4
Views: 348

Re: Equivalencias de __objAddData y __objSendMsg en Hash

Saludos Colega También tengo la misma situación, asigno valores de forma dinámica, desde un cursor SQL bien sea TODBC o EAGLE creo los campos mediante METHOD InitFields() CLASS Ttable AEVAL(::aFields,{|a,n| __objAddData( Self, a[1] , CTOEMPTY(NIL,a[2],a[3] ) ) }) Ahora los campos ...
by jnavas
Fri Mar 17, 2023 3:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Equivalencias de __objAddData y __objSendMsg en Hash
Replies: 4
Views: 474

Re: OT: Clase TODBC conectar MS-SQL

... DECIMALS TO 2   SET FIXED ON   connection := 'Driver={SQL Server};Server=SERVER\INSTANCE;Database=Database;UID=UI;PWD=PWD;'      dsFunctions := TODBC():New( connection )   WITH OBJECT dsFunctions      :SetSQL( "SELECT CCODIGOAGENTE, CNOMBREAGENTE FROM admAgentes WHERE ...
by Alin
Fri May 15, 2020 11:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: OT: Clase TODBC conectar MS-SQL
Replies: 4
Views: 764

Re: OT: Clase TODBC conectar MS-SQL

Javier I just googled "connecting to sql server from linux" .. lots of information there using ODBC .. also check out this link on setting up a Sql Server instance on linux .. [url] https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-ver15 [/url] Ho...
by Rick Lipkin
Mon May 11, 2020 12:25 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: OT: Clase TODBC conectar MS-SQL
Replies: 4
Views: 764

Re: OT: Clase TODBC conectar MS-SQL

Hola Rick, Gracias por responder, lo que sucede es que desde hace un par de años me conecto a MS-SQL con ADO, el tema es que según entiendo createobject es sólo para Windows con la lib hbwin, en este momento mi intención es hacer algunas pruebas y conectar por ODBC que entiendo podría incluso trabaj...
by Alin
Sun May 10, 2020 5:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: OT: Clase TODBC conectar MS-SQL
Replies: 4
Views: 764

Re: OT: Clase TODBC conectar MS-SQL

Javier I still like Sqloledb for Sql Server .. I know Microsoft has been telling us for years that oledb will be depreciated ... and that was 5 or 6 years ago .. nice thing about using Sqloledb is that the client is already part of the Windows operation system and you do not have to configure it for...
by Rick Lipkin
Sat May 09, 2020 1:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: OT: Clase TODBC conectar MS-SQL
Replies: 4
Views: 764

OT: Clase TODBC conectar MS-SQL

... DECIMALS TO 2   SET FIXED ON    connection := 'Driver={SQL Server};Server=SERVER\INSTANCE;Database=Database;UID=UI;PWD=PWD;'      dsFunctions := TODBC():New( connection )    WITH OBJECT dsFunctions       :SetSQL( "SELECT TOP 5 CCODIGOAGENTE, CNOMBREAGENTE FROM admAgentes ...
by Alin
Sat May 09, 2020 3:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: OT: Clase TODBC conectar MS-SQL
Replies: 4
Views: 764

Re: No salir del programa desde ErrSysW

... wait_timeout = 86400;" ) PD: el mismo problema me afectaba, pero yo me conecto a la db por ODBC, tuve que modificar la clase original tOdbc.prg para que capturar el error de perdida de conexión y realizar una nueva conexión a la misma antes que saltase ErrSysW. Gracias Armando, intentaré ...
by gmart1
Tue Feb 11, 2020 8:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No salir del programa desde ErrSysW
Replies: 6
Views: 1350

Re: No salir del programa desde ErrSysW

... wait_timeout = 86400;" ) PD: el mismo problema me afectaba, pero yo me conecto a la db por ODBC, tuve que modificar la clase original tOdbc.prg para que capturar el error de perdida de conexión y realizar una nueva conexión a la misma antes que saltase ErrSysW.
by armando.lagunas
Tue Feb 11, 2020 7:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No salir del programa desde ErrSysW
Replies: 6
Views: 1350

ODBC

... the program continue . In place of the dialog box, i 'd like to write the error in a txt file and bypass the dialog box . How to ? oODBCK := TOdbc():New("DBNAME", "user", "password") oDbfa:=oOdbc:Query("SELECT Numobj,dtedeb,numnat,numdesc FROM Objet WHERE ...
by Jack
Thu Feb 14, 2019 7:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ODBC
Replies: 1
Views: 422

Where i can find "FiveODBC Documentation"

I'd like to know more about FiveODBC classes. Opening the file help file of FiveWin Classes i find the class TdbOdbc, TOdbc, ecc. but the manual suggest "Please consult FiveODBC Documentation". Where i can find it? I search online into "Fivetech Software Wiki" ...
by max
Wed Aug 22, 2018 5:17 pm
 
Forum: FiveWin for CA-Clipper
Topic: Where i can find "FiveODBC Documentation"
Replies: 15
Views: 13257

Re: FiveODBC Error Message

Antonio,

el error lo está dando en la línea 47

Code: Select all  Expand view
oOdbc := TOdbc():New(cDsn, cName, cPass)


SQLDriverConnect error from TODbc:New() [#-1]
On Procedure OPENODBC Line: 47

Saludos
by Baxajaun
Tue Dec 27, 2016 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveODBC Error Message
Replies: 27
Views: 4206

Re: FiveODBC Error Message

La todbc cambia entre esas versiones?
by Compuin
Mon Dec 26, 2016 10:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveODBC Error Message
Replies: 27
Views: 4206

Re: FiveODBC Error Message

... ACTIVATE DIALOG oDlg return nil STATIC FUNCTION OpenOdbc(cDsn, cName, cPass) Local oOdbc, oDlg local aFiles local cTable local lAsync oOdbc := TOdbc():New(cDsn, cName, cPass) If !oOdbc:lSuccess oOdbc:ShowErrorList("ODBC session not successfully initialized, aborting...") oOdbc:End() ...
by Compuin
Mon Dec 26, 2016 4:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveODBC Error Message
Replies: 27
Views: 4206

Re: FiveODBC Error Message

FUNCTION CREATEDABASE()
LOCAL oOdbc
LOCAL cLogin:= "sa"
LOCAL cPass:= "123456"


oODbc:=TODBC():New("master", cLogin, cPass , .F. )

oOdbc:End()
oOdbc:=NIL

RETURN NIL
by Compuin
Mon Dec 26, 2016 2:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveODBC Error Message
Replies: 27
Views: 4206
Next

Return to advanced search