Search found 962 matches: eof

Return to advanced search

Re: Mr. Rao EOF() BOF() not working wirh RecSet

You are right. With RecSet, eof() and bof() do not work. We will try to provide this in future versions. for now you can use this: nRecs := oData:RecCount()nSave := oData:RecNo()do while oData:RecNo() <= nRecs  ...
by nageswaragunupudi
Fri Feb 02, 2024 8:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao EOF() BOF() not working wirh RecSet
Replies: 3
Views: 370

Re: Mr. Rao EOF() BOF() not working wirh RecSet

What about calling oData:MoveFirst() before starting the Do while Loop ?
by anserkk
Fri Feb 02, 2024 4:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao EOF() BOF() not working wirh RecSet
Replies: 3
Views: 370

Mr. Rao EOF() BOF() not working wirh RecSet

Mr Rao You can help me please , I use RecSet, but not work correctly, EOF() and BOF() not workink with RecSet, see you this example: I used MaeiaDb Function ListaUser(oCn)local lOK, cData, oData, aRet := {}lOk := .t.cData := "SELECT nick ...
by Willi Quintana
Thu Feb 01, 2024 11:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao EOF() BOF() not working wirh RecSet
Replies: 3
Views: 370

Re: Creating table with Trichedit

... local c1,c2 local cFileName := "table.rtf" local oFile := FCreate(cFileName, 0) aTable := {} Do while (!oTemp4:Eof()) * If Empty(oTemp4:Nome) oTemp4:skip() Loop Endif ....................... c1:="Cartella n."+ Trim(oTemp4:codice) c2:=alltrim(oTemp4:nome) ...
by Silvio.Falconi
Thu Jan 25, 2024 10:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 1310

Convert a print to Rtf or doc

Hi to all I have a print PRINT oPrn NAME "My Print" PREVIEW PAGE WHILE !EOF() some instruction like Prn:Say( nRow, nCol , bla bla ) ENDPAGE PAGE ENDDO ENDPAGE ENDPRINT I need some hints about the possibility to save the print into rtf for or doc You know ...
by MarcoBoschi
Wed Nov 29, 2023 12:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert a print to Rtf or doc
Replies: 33
Views: 3236

Calculate total pages

How can I calculate number of pages in a print using for instance PRINT oPrn NAME "My Print" PREVIEW PAGE WHILE !EOF() some instruction like Prn:Say( nRow, nCol , bla bla ) ENDPAGE PAGE ENDDO ENDPAGE ENDPRINT does exist a clause that permits me to run the function without ...
by MarcoBoschi
Wed Nov 22, 2023 5:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5508

Re: 1st FWH + [x]Harbour 2017 international conference

... DBF DBFFPT DBFBLOB DBFCDX DBFNTX DataBases in use ================ 1: => EMP RddName: DBFNTX ============================== RecNo RecCount BOF EOF 1 1 .F. .F. Indexes in use TagName Relations in use Classes in use: =============== 1 ERROR 2 HBCLASS 3 HBOBJECT 4 TFONT 5 WIN_OLEAUTO 6 TOLEAUTO ...
by sirotoca
Wed Nov 15, 2023 9:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 1st FWH + [x]Harbour 2017 international conference
Replies: 68
Views: 252664

Re: Xbrowse : oBrw:ToArray (How to do it)

... DBF DBFFPT DBFBLOB DBFCDX DBFNTX DataBases in use ================ 1: => EMP RddName: DBFNTX ============================== RecNo RecCount BOF EOF 1 1 .F. .F. Indexes in use TagName Relations in use Classes in use: =============== 1 ERROR 2 HBCLASS 3 HBOBJECT 4 TFONT 5 WIN_OLEAUTO 6 TOLEAUTO ...
by sirotoca
Wed Nov 15, 2023 8:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : oBrw:ToArray (How to do it)
Replies: 13
Views: 809

Re: XML, CON ARCHIVO ADJUNTO PDF

Estimado Elmo, tu código, tal cual, sin cambiar nada. De hecho si no apareciese, no se te crearia TEXTO.PDF pdfend:=At("%EOF",CTXT) sin eso, no obtendrias un valor que te permite salvar el fichero TEXTO.PDF ok,Entiendo, pero a mi me lo crea de igual forma pero en Blanco con ...
by elmoiquique
Sun Oct 15, 2023 10:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XML, CON ARCHIVO ADJUNTO PDF
Replies: 35
Views: 2108

Re: XML, CON ARCHIVO ADJUNTO PDF

Estimado Elmo,

tu código, tal cual, sin cambiar nada. De hecho si no apareciese, no se te crearia TEXTO.PDF

pdfend:=At("%EOF",CTXT)

sin eso, no obtendrias un valor que te permite salvar el fichero TEXTO.PDF
by Antonio Linares
Sun Oct 15, 2023 7:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XML, CON ARCHIVO ADJUNTO PDF
Replies: 35
Views: 2108

Re: XML, CON ARCHIVO ADJUNTO PDF

Antonio Linares wrote:Estimado Elmo,

Hemos probado tu código aqui y en el fichero PDF aparece %PDF-1.4 y termina con %%EOF

Al ejecutar tú el código no te aparece el %%EOF ?


Hola.... No aparece en el %%EOF,,,,

Me puedes indicar las diferencias de mi programa, con el que ustedes probaron
by elmoiquique
Sun Oct 15, 2023 5:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XML, CON ARCHIVO ADJUNTO PDF
Replies: 35
Views: 2108

Re: XML, CON ARCHIVO ADJUNTO PDF

Estimado Elmo,

Hemos probado tu código aqui y en el fichero PDF aparece %PDF-1.4 y termina con %%EOF

Al ejecutar tú el código no te aparece el %%EOF ?
by Antonio Linares
Sun Oct 15, 2023 5:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XML, CON ARCHIVO ADJUNTO PDF
Replies: 35
Views: 2108

Re: XML, CON ARCHIVO ADJUNTO PDF

Estimado Elmo, Por qué piensas que el PDF está incorrecto ? TEXTO.PDF comienza con %PDF-1.4 y termina con %%EOF. La longitud parece correcta aunque no visualiza nada No será que el servicio que lo genera, lo genera incorrectamente ? Si el PDF estuviese incompleto no terminaria ...
by elmoiquique
Sun Oct 15, 2023 3:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XML, CON ARCHIVO ADJUNTO PDF
Replies: 35
Views: 2108
Next

Return to advanced search