Search found 177 matches: oerror

Return to advanced search

connecting SQL SERVER VIA ODBC PROLEM

... Security Info=True;User ID=XXXX;Initial Catalog=ERP6_base;Data Source=185.80.87.6\SQLEXPRESS2019" TRY oApp:oCon:Open() CATCH oError MsgInfo("No se pudo lograr la conexión"+OAPP:OCON:CONNECTIONsTRING,oApp:cAplicacion) ShowError(oError) RETURN(.F.) END // since here ...
by MANOLO
Mon Jan 29, 2024 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: connecting SQL SERVER VIA ODBC PROLEM
Replies: 0
Views: 330

Re: CONEXION ADODB SQL SERVER

... le lanzo el : <CODE> TRY orsPed := TOleAuto():New("adodb.recordset") // orsPed:= CreateObject("ADODB.Recordset") CATCH oError MsgStop( "No se ha podido crear el RECORDSET de Pedidos!", oApp:cAplicacion) ShowError(oError) orsPed := NIL lret:=.f. CLOSE_DBF(ODTEMP) ...
by MANOLO
Mon Jan 29, 2024 5:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 4
Views: 290

CONEXION ADODB SQL SERVER

... Security Info=True;User ID=XXXX;Initial Catalog=ERP6_base;Data Source=185.80.87.6\SQLEXPRESS2019" TRY oApp:oCon:Open() CATCH oError MsgInfo("No se pudo lograr la conexión"+OAPP:OCON:CONNECTIONsTRING,oApp:cAplicacion) ShowError(oError) RETURN(.F.) END aqui me llega ...
by MANOLO
Mon Jan 29, 2024 9:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 4
Views: 290

CONEXION ADODB SQL SERVER

... Security Info=True;User ID=XXXX;Initial Catalog=ERP6_base;Data Source=185.80.87.6\SQLEXPRESS2019" TRY oApp:oCon:Open() CATCH oError MsgInfo("No se pudo lograr la conexión"+OAPP:OCON:CONNECTIONsTRING,oApp:cAplicacion) ShowError(oError) RETURN(.F.) END aqui me llega ...
by MANOLO
Mon Jan 29, 2024 9:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 0
Views: 146

Re: hb_cdxPageSeekKey how to intercept this error

Dear Marco,

try to reindex

You can always use a modified error handler:

SetErrorhandler( { | oError | ... } )
by Antonio Linares
Wed Oct 18, 2023 4:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_cdxPageSeekKey how to intercept this error
Replies: 18
Views: 769

Re: Consulta sobre falla de programa....

Estimado José,

Prueba a hacer:

ErrorBlock( { | oError | .F. } ) // Prueba con .T. también
by Antonio Linares
Fri Sep 22, 2023 1:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre falla de programa.... (RESUELTO)
Replies: 3
Views: 339

simulate unknown Function of UDF in IndexKey()

... will crash when open Index and don´t have that missing Function Question : how can i get "Name" of missing Function when use   RECOVER oError i will get oError:description, oError:operation, oError:osCode --- let say i got Function Name XYZ() Question : is it possible to "simulate" ...
by Jimmy
Fri May 05, 2023 4:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: simulate unknown Function of UDF in IndexKey()
Replies: 9
Views: 419

Re: Mystery with SEQUENCE

have found out what SEQUENCE made it does "detect" by SEQUENCE, in a Called Method, but it work (!) without SEQUENCE :o NOSPLASH( 1621 ) oError:description = "Zero divisor" oError:operation = "%" oError:osCode = 0      oTab_Right:SetFocus()      oExpl_Right:oParent ...
by Jimmy
Thu Mar 02, 2023 10:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mystery with SEQUENCE
Replies: 1
Views: 251

Re: How to capture screen by code

For the screenshot this could work. Part of a error log/send function In the main section : SetPostErrorAction( { |cErrorLogFileName, oError| MyErrorAction( cErrorLogFileName, oError ) } ) function MyErrorAction( cErrorLogFileName, oError )    LOCAL cErrScreen:=""    LOCAL ...
by Marc Venken
Thu Feb 23, 2023 8:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to capture screen by code
Replies: 3
Views: 337

Re: Webservice connecting to https

... ) oHttp:Send() oHttp:waitForResponse() IF oHttp:Status == 200 Sysrefresh() cWinResp := oHttp:ResponseBody MsgAlert( cWinResp, Ptitle ) ENDIF CATCH oError MsgAlert( oError:Description, Ptitle ) RETURN (.F.) END
by cdmmaui
Tue Dec 06, 2022 1:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Webservice connecting to https
Replies: 2
Views: 374

Re: New Fivewin with new PDF

... ) Return nil Function McsSendEMail( cServer,cUserName,cPassWord,cFrom,cSubject,cToAddr,cCC,cBody,cAttach,cCsvFile,lAttachCsv,cLogFile ) Local oError := nil Local nI := 0 Local oEmailCfg := nil Local oEmailMsg := nil Local cHtml := '<!DOCTYPE HTML PUBLIC "-/' + '/W3C/' + '/DTD HTML ...
by byron.hopp
Tue Apr 05, 2022 7:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Fivewin with new PDF
Replies: 12
Views: 938

Re: LOST CONNECTION - At. Mr. Rao

... Comprobando conexion....",@await ) EndIf IsQry:= oServer:Query("Select 1") IsQry:End() If lWait WaitOff( @aWait ) Endif CATCH oError If oError:SubCode=2013 .OR. oError:SubCode=1096 If lWait WaitOn("Espere, intentando reconectar...",@aWait ) EndIf While .t. TRY SysRefresh() ...
by CARLOS ATUNCAR
Fri Jan 14, 2022 11:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: LOST CONNECTION - At. Mr. Rao
Replies: 13
Views: 946

Re: Enhance errorsys.prg

... to retry ... but most it is "too late" :( at Runtime i do use BEGIN SEQUENCE and a "new" Errorblock. depend on "oError" you can try to "react" on it LOCAL oError, bError   bError := ERRORBLOCK( { | oErr | BREAK( oErr ) } ) ...
by Jimmy
Tue Nov 30, 2021 6:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Enhance errorsys.prg
Replies: 8
Views: 820

Re: MySql Nativa Transacciones. At. Mr. Rao

... num_pres=&3", { "R", cInfo, nOldNumPres } )          ENDIF       ENDIF       oServer:Commit()       lGrabado := TRUE    CATCH oError       ShowError( oError )       oServer:Rollback()    END    oServer:lThrowError := FALSE //aca lo desactivo    IF lGrabado       NuevoPrestamo_MostrarNumero() ...
by carlos vargas
Fri Sep 17, 2021 5:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MySql Nativa Transacciones. At. Mr. Rao
Replies: 26
Views: 2460

Re: MySql Nativa Transacciones. At. Mr. Rao

... num_pres=&3", { "R", cInfo, nOldNumPres } )          ENDIF       ENDIF       oServer:Commit()       lGrabado := TRUE    CATCH oError       ShowError( oError )       oServer:Rollback()    END    oServer:lThrowError := FALSE //aca lo desactivo    IF lGrabado       NuevoPrestamo_MostrarNumero() ...
by carlos vargas
Fri Sep 17, 2021 5:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MySql Nativa Transacciones. At. Mr. Rao
Replies: 26
Views: 2460
Next

Return to advanced search