Search found 89 matches: neterr

Return to advanced search

Error o problema al grabar

... zvtncaja With ncajax, zvtboli With boleta_inicialx,; zvtbolf With boleta_finalx Dbcommit(); Dbunlock() Func sumreg Dbappend() If Neterr() pmsgx=Savescreen(13,10,20,67); msgbox(MSGp01_028,,,32,0) While Neterr(); linkey(.3); Dbappend() enddo Restscreen(13,10,20,67,pmsgx) Endif Return
by jgayoso
Thu Oct 04, 2012 5:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error o problema al grabar
Replies: 16
Views: 4850

Re: Como Saber si hay abierta una base de datos

... := .F. cFile := <su_DBF> IF Select( cFile ) > 0 dbSelectArea( cFile ) ELSE dbUseArea( .T., cDriver, cFile, cFile, lShared, lReadOnly ) IF NetErr() ... ... etcétera ENDIF ENDIF RETURN .T.
by aferra
Tue Sep 11, 2012 3:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como Saber si hay abierta una base de datos
Replies: 7
Views: 969

Re: problema con ads (reindex con tabla en exclusivo)

... Prueba así a ver si hay suerte: SET AUTOPEN OFF FOR EACH cTabla IN aTablas USE (cTabla) EXCLUSIVE NEW ALIAS TEMP ?cTabla, Alias(), OrdCount() IF !NetErr() IF TEMP->( OrdCount() ) > 0 REINDEX ENDIF ELSE MsgAlert( "Error en reindexado de " + cTabla + FINL + AdsGetLastError() ) ENDIF ...
by lucasdebeltran
Thu Jun 28, 2012 8:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con ads (reindex con tabla en exclusivo)
Replies: 13
Views: 3687

Re: How To Make oDlg:Say Transparent

... Company1 With "PQR Co." Replace Direct1 With ".\data2" EndIf if (Select("Comname1") == 0) use Comname1 new If (neterr()) msginfo("File is locked by another user") Close Databases return endif else select Select("Comname1") endif goto top DEFINE ...
by acwoo1
Wed Feb 01, 2012 2:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How To Make oDlg:Say Transparent
Replies: 9
Views: 2022

Re: Error Upgrade From FWH115 To FWH1110

... case errortype == "RLOCK" if (RLock()) return .T. endif do while (!RLock()) InKey(3) enddo case errortype == "APPEND" if (!neterr()) onerror("RLOCK") return .T. endif do while (neterr()) InKey(3) append blank enddo onerror("RLOCK") endcase return .T. ...
by acwoo1
Sun Nov 27, 2011 7:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error Upgrade From FWH115 To FWH1110
Replies: 15
Views: 5296

Error Upgrade From FWH115 To FWH1110

... case errortype == "RLOCK" if (RLock()) return .T. endif do while (!RLock()) InKey(3) enddo case errortype == "APPEND" if (!neterr()) onerror("RLOCK") return .T. endif do while (neterr()) InKey(3) append blank enddo onerror("RLOCK") endcase return .T. ...
by acwoo1
Mon Nov 14, 2011 2:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error Upgrade From FWH115 To FWH1110
Replies: 15
Views: 5296

Re: Cambiar a modo exclusivo en tiempo de ejecución.

... sus indices. Puedes probar con lo siguiente: 1- Lo cierras. 2- Trata de abrirlo en exclusivo, comprobando si otro usuario lo tiene abierto con NetErr(). Por supuesto, si algun otro usuario lo tiene abierto, te devolverá .t., por lo que debes devolverlo a su estado anterior (compartido) + sus ...
by FranciscoA
Sat Sep 03, 2011 2:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar a modo exclusivo en tiempo de ejecución.
Replies: 4
Views: 850

How To Save Changes In xbrowse

... hBitMap1, hBitMap2, hBitMap3, hBitMap4 local aArray:={} if (Select("abc") == 0) dbusearea(.T., Nil, "abc", Nil, Nil, .F.) if neterr() msginfo("File in use, please try again") close databases return endif set index to abci else select Select("abc") endif ...
by acwoo1
Tue May 17, 2011 11:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How To Save Changes In xbrowse
Replies: 1
Views: 681

Re: Duda al crear un Reporte en FWH

... the file is available only for read access, use the READONLY clause on the USE command. CA-Clipper's default error handler (Errorsys.prg) will set NETERR() to true (.T.) and will ask DBFNDX to default if the error was due to a sharing violation on the network.
by FranciscoA
Fri Feb 18, 2011 1:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Duda al crear un Reporte en FWH
Replies: 19
Views: 4249

Re: Pritpal, HBIDE developer, assists us to use it with FWH

... Called from IDEBROWSE:CREATE(846) This is also a baffling one. It only throws up when same table is tried to open again. I am checking NetErr() but it seems RTE is always generated. I will report it to Przemek. In the meantime, surrounding this code under BEGIN/END SEQUENCE. Next commit ...
by Pritpal Bedi
Tue Jul 06, 2010 1:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Pritpal, HBIDE developer, assists us to use it with FWH
Replies: 293
Views: 99988

Re: Network problem

Antivirus?
exclude the folder and retry
bye

Can you test using a little program like this?

FUNCTION MAIN()
SET EXCLUSIVE OFF
USE customer
? neterr()
RETURN NIL
by MarcoBoschi
Thu May 06, 2010 2:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Network problem
Replies: 2
Views: 600

Re: Windows 64-bits

Michel,

>To my opinion NetErr() only return .T. or .F., doesn't it ?

Yes, you are correct. I must have been thinking of ferror().

James
by James Bott
Sat Feb 06, 2010 1:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 64-bits
Replies: 7
Views: 937

Re: Windows 64-bits

James,

To my opinion NetErr() only return .T. or .F., doesn't it ?

Thanks.
by driessen
Sat Feb 06, 2010 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 64-bits
Replies: 7
Views: 937

Re: Windows 64-bits

Michel,

Maybe it would help if you put in a msgInfo(neterr()) so you can see what the error is. As your code is now, all neterr()s just show that the file can't be opened, but not why.

Regards,
James
by James Bott
Sat Feb 06, 2010 1:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 64-bits
Replies: 7
Views: 937

Re: Compilar Fast Report

... DBDELETE EXTERNAL DBGOTO EXTERNAL SELECT EXTERNAL DBSELECTAREA EXTERNAL SET EXTERNAL ORDSETFOCUS EXTERNAL DBAPPEND EXTERNAL DBRLOCK EXTERNAL NETERR EXTERNAL DBUNLOCK EXTERNAL RECNO EXTERNAL ORDCONDSET EXTERNAL ORDCOUNT EXTERNAL ORDLISTADD EXTERNAL ORDNAME EXTERNAL ORDKEY EXTERNAL ORDFOR EXTERNAL ...
by KRCNET
Fri Nov 06, 2009 12:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Compilar Fast Report
Replies: 3
Views: 1761
PreviousNext

Return to advanced search