Search found 51 matches: lerror

Return to advanced search

Re: Error DBFCDX/1022

... un el registro Regresa: .t. si se pudo bloquear el registro .f. no se logro el bloque o cancelacion de la operacion */ LOCAL lVret := .F.,; lError := .T.,; nTimer DEFAULT nSecs := 5 DEFAULT lEspera := .T. nTimer := SECONDS() + nSecs DO WHILE lError (cAlias)->(DBAPPEND()) lError := NETERR() ...
by emmort2000
Thu Nov 14, 2013 4:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error DBFCDX/1022
Replies: 2
Views: 622

TMySql problem when it got connection problem?

Dear All, I use TMySql() and ::Query() will return ::lError when internet has down. The error message is "MySql server has gone away". When the Internet connection has recovery, the ::Query() always return ::lError ("MySql server has ...
by dutch
Wed Jul 10, 2013 9:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TMySql problem when it got connection problem?
Replies: 0
Views: 361

Re: FWh SQLITE

... stored Recordset. Used with Recordset.Open or Requery only. #define adCmdTableDirect 512 class tSQLite data oConn // Conexion con la BBDD data lError init .f. data nError init 0 method new(cDatabase) constructor method Query(cSQL) method Execute(cSQL) method GetValue(oRs,cItem) method end() ...
by softruz
Mon Jan 14, 2013 11:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWh SQLITE
Replies: 3
Views: 1340

Re: User rights on a Vista OS

I think you cannot avoid them. The compiler is warning you that you are assigning

lError = ...

while it thinks that you did mean

lError == ...

but it's not what you want to do as you're intentionally doing an assignment.

EMG
by Enrico Maria Giordano
Sun Sep 30, 2012 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: User rights on a Vista OS
Replies: 17
Views: 3202

Re: User rights on a Vista OS

... ISADMIN ){  HANDLE hToken;  PTOKEN_GROUPS pGroupInfo;  DWORD dwSize = 0, dwResult;  DWORD nError = 0, i;  BOOL lError, lAdMin = FALSE;  LPSTR cFunc = "";  PSID   psidAdmin;  CHAR cMess[200];  SID_IDENTIFIER_AUTHORITY ...
by lucasdebeltran
Sun Sep 30, 2012 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: User rights on a Vista OS
Replies: 17
Views: 3202

Re: EditCell

... v != odb1:centerid,; (if(odb1:EOF(),; (odb1:centerid:=v,odb1:enddate:=CTOD("2999.12.31"),odb1:APPEND(),obrow1:refresh(),if(!oserver:lerror,obrow1:SEEK(v),msgstop("编码重复!","停止"))),; (centerid1:=odb1:centerid,odb1:centerid:=v,odb1:save(),obrow1:refresh(),if(oserver:lerror,(msgstop("编码重复或者单据已经使用而不能更改!","停止"),obrow1:SEEK(centerid1)),obrow1:SEEK(v)) ...
by ShumingWang
Mon Aug 13, 2012 2:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: EditCell
Replies: 6
Views: 1430

Re: OT: XBrowse-MySql-TMysql

... LOCAL nLin := oQuery:lin oServer:Query("INSERT INTO gopmult (lin) VALUES ('"+cValToChar(nLin)+"')") if oServer:lError MsgInfo(oServer:Error) endif oQuery:Refresh() oLbx:Refresh() //Cuando se insertan reg se duplica el no. de lin para que el indice lo coloque ...
by FranciscoA
Tue Mar 13, 2012 1:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: OT: XBrowse-MySql-TMysql
Replies: 28
Views: 8236

XBrowse + MySql (SOLUCIONADO)

... NO EXISTE LA COLUMNA cCta. Estoy de acuerdo, MySql asi lo toma. //Entonces, ¿ como puedo ejecutar la sentencia utilizando una variable? if oServer:lError msginfo(oServer:Error) endif NEXT Agradezco de antemano.
by FranciscoA
Fri Mar 02, 2012 8:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse + MySql (SOLUCIONADO)
Replies: 6
Views: 897

Re: Regalo de vacaciones

Uso Esta Sintaxis pero no me genera el numero error y se bloquea. xTRY RETRY INI TO oTry Codigo Uso Ado xTRY RETRY END IF oTry:lError() oTry:SaveError() oTry:MsgErrorUsuario("Fichero no pudo ser copiado !") ENDIF Con esta sintaxis no se bloquea. pero no me muestra la linea del ...
by ruben Dario
Wed Aug 17, 2011 11:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Regalo de vacaciones
Replies: 6
Views: 2424

Re: Regalo de vacaciones

... TRY END para proteger los CATCH; es decir: Modo normal es TRY x:= y CATCH TRY x:= z END END Modo nuevo es xTRY INI TO oTry x:= y xTRY END IF oTry:lError() XTRY INI TO oTry x:= z XTRY END ENDIF ////////////////////////////////////////// xTry.Prg              eXtended Try//////// NOTA:// ===========================================================// ...
by hmpaquito
Sat Jul 30, 2011 9:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Regalo de vacaciones
Replies: 6
Views: 2424

Re: Pregunta Mysql al Abrir la misma tabla desde 2 PC

... oADOCatalog:= TOLEAUTO():New("ADOX.Catalog") oConexion:ConnectionString := xConnStr TRY oConexion:Open() lError:=.T. CATCH oError lRet:=.f. lError:=.f. MsgStop("No Hay Conexion Con El Servidor","Operación Cancelada") END RETURN lRet ...
by jbrita
Wed Jul 13, 2011 1:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pregunta Mysql al Abrir la misma tabla desde 2 PC
Replies: 7
Views: 1440

CAPTURAR LAMADA DE CENTRAL TELEFONICA

... adjunto el codigo Utilizo xHarbour 10.4 y Fwh de abril del 2010 Gracias de antemano #include "fiveWin.ch" function fReadPort local cDcb, lError, nError local numero := space(8) cErrCode := space( 15 ) if !( gnCom := OpenComm( 'COM3', 1024, 256 ) ) == 0 *IF ! SetCommState( gnCom, cDcb ...
by EASYSOFT
Sun Mar 13, 2011 1:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAPTURAR LAMADA DE CENTRAL TELEFONICA
Replies: 2
Views: 840

Re: TDOSPRN y XP WINDOWS - SOLUCIONADO

... NIL //----------------------------------------------------------------------------// METHOD EndPage() CLASS TDosPrn LOCAL nFor, nLen, nSec LOCAL lError ::Command(::cFormFeed) ::LastError := 0 IF fWrite(::hDC, ::cBuffer) < len(::cBuffer) ::LastError := fError() ENDIF ::cBuffer := "" ...
by Armando Picon
Mon Jan 24, 2011 8:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TDOSPRN y XP WINDOWS
Replies: 21
Views: 4835

Re: TdosPrn para USB

... NIL //----------------------------------------------------------------------------// METHOD EndPage() CLASS TDosPrn LOCAL nFor, nLen, nSec LOCAL lError * ::Command(::cFormFeed) ::LastError := 0 IF fWrite(::hDC, ::cBuffer) < len(::cBuffer) ::LastError := fError() ENDIF ::cBuffer := "" ...
by praul
Sun Dec 19, 2010 3:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TdosPrn para USB
Replies: 5
Views: 1278

Re: Saber si es DBF

Muy buenas foro, he realizado una pequeña funcion para que nos diga si es una DBF o no. function IsDBF(cFile) local xAlias,lError:=.f. try use &(cFile) alias xAlias lError:=.f. catch lError:=.t. end catch if !lError xAlias->(dbclosearea()) end if return !lError Un Saludo.
by softruz
Thu Jun 17, 2010 5:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber si es DBF
Replies: 5
Views: 812
PreviousNext

Return to advanced search