Search found 189 matches: recordcount

Return to advanced search

help with XBROWSE and ADO

... Time from start: 0 hours 0 mins 13 secs Error occurred at: 06-03-2017, 15:35:55 Error description: Error ADODB.RecordSet/6 DISP_E_UNKNOWNNAME: RECORDCOUNT Args: Stack Calls =========== Called from: => TOLEAUTO:RECORDCOUNT( 0 ) Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:SETADO( ...
by damianodec
Mon Mar 06, 2017 4:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: help with XBROWSE and ADO
Replies: 3
Views: 593

Re: Rowset data and method is not working.

... remains constant during the life of the rowset, even after deletion of some records. The behavior is similar to LastRec() of DBF. RecCount() or RecordCount() // compatible with ADO Total number of records in the RowSet, reduced by records deleted, if any. KeyCount() // similar to OrdKeyCount() ...
by nageswaragunupudi
Mon Feb 06, 2017 12:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Rowset data and method is not working.
Replies: 2
Views: 806

Re: FWH: MySql/MariaDB: RowSet object

... rowset This number remains constant even after deletion of some records. Behavior similar to DBF. Adding records increases the number. RecCount()/RecordCount(): Actual number of records. This is equal to LastRe() less number of deleted records. In the present version deleted records are totally ...
by nageswaragunupudi
Thu Jul 21, 2016 11:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 51
Views: 19680

MS SQL Dumb Question

... + ALLTRIM(cShipno) + "' ORDER BY shipmentno DESC" TRY oSqlSeek:Open( cSqlSeek, xSQL ) CATCH oError lError := .T. END IF (oSqlSeek:RecordCount>0) cTxemail := oSqlSeek:Fields( "TXEMAIL" ):Value ENDIF ENDIF IF VALTYPE(cTxemail)<>"C" cTxemail := "aceaes@cdmsoft.com" ...
by cdmmaui
Tue May 10, 2016 10:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MS SQL Dumb Question
Replies: 0
Views: 422

Re: Variable substitution in MS Sql Substring() Function

... results I got did not seem different from the original program I am replacing .. all the totals seemed to add up, only when I looked at the oRs:RecordCount() did I realize I was returning a ton of rows at a horrible performance price. After reviewing the recordsets did I realize my error using ...
by Rick Lipkin
Tue Feb 09, 2016 1:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Variable substitution in MS Sql Substring() Function
Replies: 6
Views: 1339

bug xBrowse ADO

Hello, I am getting this error reported by some customers: Error description: Error BASE/1004 No existe el m‚todo: RECORDCOUNT Args: [ 1] = U Stack Calls =========== Called from: => RECORDCOUNT( 0 ) Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE_SETADO( 4556 ) Called ...
by MOISES
Mon Jul 06, 2015 7:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bug xBrowse ADO
Replies: 4
Views: 890

Re: ADO RDD xHarbour

... to adUseServer and CursorType as adDynamic. In such cases the provider might even support adSeek In this case we need to adopt workarounds for recordcount()
by nageswaragunupudi
Wed Jul 01, 2015 4:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447059

Re: ADO SQL VISIBILITY

... then leave it. The programmer anyway will face lots of problems and learn by mistakes. Anyway for small tables we may compare COUNT(*) with oRs:RecordCount() and decide, though it is slow and not foolproof. When opening a table it is easy for us to identify the primary key and also if it is ...
by nageswaragunupudi
Tue Jun 30, 2015 1:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO SQL VISIBILITY
Replies: 17
Views: 3481

Re: ADO RDD xHarbour

... total records in the table The index records are logical so not the same as table records. In adordd OrdKeyNo = AbsolutePositon and OrdKeyCount = RecordCount LastRec Reccount = see function my previous post Recno = value of fieldrecno Does filter works without indexes? Here ok Does filter works ...
by AHF
Mon May 25, 2015 3:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447059

Re: ADO RDD xHarbour

... FUNCTION ADO_RECCOUNT( nWA, nRecords )   LOCAL oRecordSet := USRRDD_AREADATA( nWA )[ WA_RECORDSET ],nRecNo   IF oRecordSet:RecordCount() < 0      nRecords := ADORECCOUNT(nWA,oRecordSet) // AHF SEE FUNCTION FOR EXPLANATION oRecordSet:RecordCount()      ...
by AHF
Mon May 25, 2015 3:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447059

Re: ADO RDD xHarbour

... version you just send me, there are some bugs so far: At, ADOFINDREC(), oRecordSet:AbsolutePosition := IF( oRS:AbsolutePosition == adPosEOF, oRS:RecordCount() + 1, oRS:AbsolutePosition ) is failing, as IF( oRS:AbsolutePosition == adPosEOF, oRS:RecordCount() + 1, oRS:AbsolutePosition ) its giving ...
by AHF
Sat May 23, 2015 9:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447059

Re: ADO RDD xHarbour

... version you just send me, there are some bugs so far: At, ADOFINDREC(), oRecordSet:AbsolutePosition := IF( oRS:AbsolutePosition == adPosEOF, oRS:RecordCount() + 1, oRS:AbsolutePosition ) is failing, as IF( oRS:AbsolutePosition == adPosEOF, oRS:RecordCount() + 1, oRS:AbsolutePosition ) its giving ...
by lucasdebeltran
Sat May 23, 2015 9:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447059

Re: ADO RDD xHarbour

Antonio, I am also having trouble with MySQL. For somehow, at ADOFINDREC() oRecordSet:AbsolutePosition := IF( oRS:AbsolutePosition == adPosEOF, oRS:RecordCount() + 1, oRS:AbsolutePosition ) is set to -1, and it gives an error. oRecordSet:AbsolutePosition can´t be minor than 0. Do yoy know why? Thank ...
by lucasdebeltran
Fri May 22, 2015 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447059

Re: Problema de oRs:RecordCount()

Rick al hacer lo que dices, no se produce el error, pero en cuanto accedes a la barra de botones, desaparecen los registros y el Browse queda vacío a la vista. Como dato curioso he de decir que si quito el cierre de los recordsets tampoco se produce el error pero indica que no existe el recordset en...
by Pedro
Wed May 20, 2015 6:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema de oRs:RecordCount()
Replies: 5
Views: 1011

Re: Problema de oRs:RecordCount()

Pedro Two things .. 1) Remove the SysRefresh() <-- this is most likely the cause or the error 2) After you close your table oRsDiario assign 0 to the following code blocks :    oRsDiario:Close()   oBrw:bKeyCount := { || 0 }   oBrw:bKeyNo   &nbs...
by Rick Lipkin
Wed May 20, 2015 3:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema de oRs:RecordCount()
Replies: 5
Views: 1011
PreviousNext

Return to advanced search