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 // ...
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 ...
... 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
... 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.- ...
... 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 ?
... 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 ...