Search found 211 matches: strzero

Return to advanced search

Re: Campos en 0 en xbrowse

Buenos días!!! Necesito mostrar en blanco o vacía la celda de un xbrowse cuando su valor sea 0. el strzero no funciona, alguna sugerencia? Gracias En la declaración del XBrowse, donde especificas el campo, utiliza esta sintáxis: If( nElCampo = 0, " ", nElCampo ...
by FiveWiDi
Mon Oct 30, 2023 4:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Campos en 0 en xbrowse
Replies: 10
Views: 633

Campos en 0 en xbrowse

Buenos días!!!
Necesito mostrar en blanco o vacía la celda de un xbrowse cuando su valor sea 0.
el strzero no funciona, alguna sugerencia?

Gracias
by José Camilo
Mon Oct 30, 2023 12:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Campos en 0 en xbrowse
Replies: 10
Views: 633

Re: IMPRESION ARCHIVOS PDF

... está puesto el REQUEST FWHARU al comienzo del programa) TPrinter():lUseHaruPDF:= .t. xnum:=99->numero cPdfFile := m->xpath+"\PDF\"+strzero(99->cliente,6)+".pdf" PRINTER oprn FILE cPdfFile Me sale el siguiente error: Called from: source\rtl\tobject.prg => FWPDF:ERROR( ...
by pedroluis
Tue Oct 10, 2023 7:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: IMPRESION ARCHIVOS PDF
Replies: 27
Views: 1612

Re: IMPRESION ARCHIVOS PDF

Hola Leandro !

Si exactamente use el código como vos lo ponés.

cPdfFile := m->xpath+"\PDF\"+strzero(99->cliente,4)+".pdf"
PRINT oprn FILE cPdfFile

Saludos !
by pedroluis
Wed Oct 04, 2023 3:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: IMPRESION ARCHIVOS PDF
Replies: 27
Views: 1612

IMPRESION ARCHIVOS PDF

... veces me los genera de distinto tamaño. Las paso el código. sele 99 // Archivo con todas las facturas a imprimir. go top xsay:="Socio: "+strzero(99->cliente,4)+" - Fac.: "+xlet+"-"+str(xemi,1)+"-"+strzero(99->numero,6) DEFINE DIALOG oIndex TITLE "Generado ...
by pedroluis
Mon Oct 02, 2023 3:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: IMPRESION ARCHIVOS PDF
Replies: 27
Views: 1612

Re: XBROWSE Column Question

hi,

FUNCTION FindColumnHeader() is NOT for "increment" Seek, it is to place Cursor on Header which meet IndexKey()

i can´t find e.g. STRZERO, in RddIncrSeek(), of XBROWSE ... but it seems to work ,,, how can it work ... hm
by Jimmy
Mon May 08, 2023 3:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 877

Re: XBROWSE Column Question

what about Function in Indexkey() like STRZERO() :?:

Works
but fail when have Function(FIELD)

Does not fail. It works.
by nageswaragunupudi
Mon May 08, 2023 1:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 877

Re: XBROWSE Column Question

... the data oCol:cSortOrder, while initially building the browse. XBrowse uses this information to do AutoSort what about Function in Indexkey() like STRZERO() :?: it does work when have FIELD only but fail when have Function(FIELD), or :?:
by Jimmy
Mon May 08, 2023 12:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 877

DBF REDE/WEB WINDOWS 7/10/11

... {} nCont := 1 lAllOk := .T. cEmpresa := RETIDO->COD_EMPRES nConti=nConti+1 SWPanelRefresh( oPan,"Calculando....Qtde= "+"("+ Strzero(nconti,5) +")" +" Codigo Trab.: "+ RETIDO->COD_AVUL ) DO WHILE cAvulso == RETIDO->Cod_Avul .AND. cEmpresa == RETIDO->COD_EMPRES ...
by wanderson8
Sun Jan 08, 2023 3:10 pm
 
Forum: All products support
Topic: DBF REDE/WEB WINDOWS 7/10/11
Replies: 0
Views: 9372

Re: Xbrowse

aCol := {"StrZero(Productos->Codigo,8,0)","Productos->Descrip","StrZero(Productos->Rubro,4,0) + "-" +Traetabla("Rubros","Indi1","Rubros",Productos->Rubro)[2]","Productos->Precio1","Productos->Precio2"} ...
by CarlosFossati
Sat Feb 19, 2022 1:07 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Xbrowse
Replies: 4
Views: 529

Re: Listado Meses en rango de Periodo

... Main() Local nMesI:=4 Local nAnoI:=2021 Local nMesF:=6 Local nAnoF:=2023 Local aPeriodo:={} Local cFecha1,cFecha2 cFecha1 := CTOD("01/"+strzero( nMesI, 2) + "/" + str( nAnoI ) ) cFecha2 := CTOD("01/"+strzero( nMesF, 2) + "/" + str( nAnoF ) ) DO WHILE ( cFecha1 ...
by jbrita
Wed Feb 09, 2022 4:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Listado Meses en rango de Periodo
Replies: 2
Views: 222

Re: Soap Web Service

... Then replaces the template with their values .. cXML := strtran( cXML , '##CARDNUMBER##',cTarjeta ) cXML := strtran( cXML , '##STOREID##',strzero(SucursalActual,3,0)) cXML := strtran( cXML , '##CAJAID##',strzero(CajaActual,1,0)) cXML := strtran( cXML , '##EMPLEADOID##','1OSVALDO') cXML ...
by ramirezosvaldo2
Thu Jan 27, 2022 8:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service
Replies: 7
Views: 906

Re: FullTextSearch

... grabar en esos campos una clave unica, por ejemplo el TimeStamp + Random() (para evitar choques con otros usuarios) cKey:= hb_DateTime()+ StrZero(hb_Random(), 10) Despues se grabara esa key en los distintos registros que conforman el filtro y finalmente se utilizara el indice. Otra segunda ...
by hmpaquito
Tue Nov 02, 2021 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FullTextSearch
Replies: 2
Views: 314

Re: ApplyParams Tdatabase

... I couldn't know the record number and adding +1 to the value because in ancient times the reservation number was made up of the record number - strzero (recno, 4) + 1 - Well, that is not a complete description of that situation. In a multi-user system, you cannot just assign an ID before a record ...
by Silvio.Falconi
Thu Jul 15, 2021 11:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ApplyParams Tdatabase
Replies: 8
Views: 1271

Re: ApplyParams Tdatabase

... I couldn't know the record number and adding +1 to the value because in ancient times the reservation number was made up of the record number - strzero (recno, 4) + 1 - Well, that is not a complete description of that situation. In a multi-user system, you cannot assign an ID before a record ...
by James Bott
Thu Jul 15, 2021 11:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ApplyParams Tdatabase
Replies: 8
Views: 1271
Next

Return to advanced search