Search found 233 matches: bof

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: 417

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: 417

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 FROM ...
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: 417

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: 265546

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: 956

Re: Problem with xBrowse

...  Called from:  => TOLEAUTO:VALUE( 0 )  1007 group of errors occur when accessing a recordset is closed or eof/bof is true or record is deleted. Please check if any situation exists
by nageswaragunupudi
Sun May 28, 2023 1:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with xBrowse (Fixed)
Replies: 34
Views: 2161

Re: XBrowse con xBase - Efecto Pijama - Error en Red

... n == nil,; ( ::cAlias )->( OrdKeyNo() ),; ( ::cAlias )->( OrdKeyGoto( n ); ) ) },; ::bKeyCount := {|| ( ::cAlias )->( If( eof() .and. bof(), 0, OrdKeyCount() ) ) } Endif :::::: ¿Puede alguien por favor decirme si causará algún error dejarlas comentadas? ¿o cual sería la solución correcta? ...
by José
Tue Mar 21, 2023 2:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBrowse con xBase - Efecto Pijama - Error en Red
Replies: 3
Views: 405

Re: Procedimiento almacenado adolib

... _Fe1_:=20220101 _Fe2_:=20220131 Connect_sql(@_Cnx_,'Usuario','Clave') Get_sql_detalle(_Cnx_,@_Rds_,_Fe1_,_Fe2_) Do While !_Rds_:Bof() .And. !_Rds_:Eof() _Imp_:=_Rds_:Fields('Precio'):Value _Tpr_:=_Rds_:Fields('Tipo'):Value _Obs_:=_Rds_:Fields('Observa'):Value Aadd(Arayx,{_Rds_:Fields('Documento'):Value, ...
by jacgsoft
Mon Oct 03, 2022 9:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Procedimiento almacenado adolib
Replies: 1
Views: 358

Re: xbrowse command not working properly -- MR. RAO

... not know. Now, let us make this work. Please let me know: What are the methods to 1. GoTop (eg: oTb:GoTop() ) 2. GoBottom 3. GoTo( nthRecord ) 4. Bof() 5. Eof() How do we access and assign field values? Is it similar to other classes like x := oTb:fieldname oTb:fieldname := x ? Thanks Mr Rao 1.- ...
by Compuin
Wed Feb 23, 2022 5:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1384

Re: xbrowse command not working properly -- MR. RAO

... not know. Now, let us make this work. Please let me know: What are the methods to 1. GoTop (eg: oTb:GoTop() ) 2. GoBottom 3. GoTo( nthRecord ) 4. Bof() 5. Eof() How do we access and assign field values? Is it similar to other classes like x := oTb:fieldname oTb:fieldname := x ?
by nageswaragunupudi
Wed Feb 23, 2022 12:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1384

Re: Error in database.prg?

... DBF DBFFPT DBFBLOB DBFCDX DBFNTX DataBases in use ================ 1: ARQRAM RddName: DBFCDX ============================== RecNo RecCount BOF EOF 6 5 .F. .T. Indexes in use TagName => DESCRICAO DESCRICAO Relations in use 2: CONFCTE RddName: DBFCDX ============================== RecNo ...
by wartiaga
Tue Feb 15, 2022 4:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can you use a field named End with Class TDataBase ? yes!
Replies: 15
Views: 962

Re: dbase III/IV file encrypted

... DBI_CHILDCOUNT 22 /* Number of child relations set */ #define DBI_FILEHANDLE 23 /* The data file's OS file handle */ #define DBI_BOF 26 /* Same as bof() */ #define DBI_EOF 27 /* Same as eof() */ #define DBI_DBFILTER 28 /* Current Filter setting */ #define DBI_FOUND 29 /* Same as found() */ #define ...
by lorenzoazz
Sat Jan 29, 2022 1:17 pm
 
Forum: All products support
Topic: dbase III/IV file encrypted
Replies: 8
Views: 1146

Re: System info, Tips & Tricks, scharing project info

hi

as James say you are using FILTER on "Skipper" of "Browse"
DbSetFilter() will use hole DBF and "Skipper" will test until EOF() / BOF()

i use DbSetFilter() only with SCOPE
SCOPE will "limit" EOF() / BOF()
by Jimmy
Mon Jan 17, 2022 3:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: System info, Tips & Tricks, scharing project info
Replies: 20
Views: 1452
Next

Return to advanced search