Search found 189 matches: recordcount

Return to advanced search

Re: Errores en acceso a MariaDB(Fivewin)

Hola, has confundido filas con columnas.

oRs:Fields:Count : son las columnas de la consulta.

oRs:RecordCount : son las filas de la consulta (Número de registros).

Un saludo.
by gmart1
Tue Oct 08, 2019 3:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Errores en acceso a MariaDB(Fivewin)
Replies: 5
Views: 1003

Re: SQL Update Response

... more for success or ZERO for failed to located record). Is there a comprehensive list of properties related to ADO recordset open in addition to :RecordCount, :EOF and :BOF?
by cdmmaui
Mon Aug 05, 2019 8:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SQL Update Response
Replies: 10
Views: 1783

Re: Activar botón con oDlg:AEValWhen()

Buena dia... Ya evaluó directamente el resultado de la condición ? : "oRsVia:State() = adStateOpen .AND. oRsVia:RecordCount > 0 " ... Lo uso así acorde a mi necesidad. LOCAL lGenReg := .f.  ,oBotReg ,oPlaVeh  ,oPlaVeh@ 15,110 GET oPlaVeh VAR oPlaVeh ;         PICTURE ...
by russimicro
Tue Jun 04, 2019 11:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Activar botón con oDlg:AEValWhen() (SOLUCIONADO)
Replies: 17
Views: 2445

Re: null field in FW_OpenRecordSet

oRs:ClassName() = toleauto oRs:Fields:Count() = 103 oRs:RecordCount() = ERROR!!! Error description: Error ADODB.RecordSet:FIELDS/9 l record corrente corrisponde all'inizio o alla fine del file oppure è stato eliminato. Per eseguire l'operazione richiesta ...
by damianodec
Thu Feb 21, 2019 2:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: null field in FW_OpenRecordSet
Replies: 11
Views: 1751

Re: null field in FW_OpenRecordSet

Please also try

? oRs:ClassName()
? oRs:Fields:Count()
? oRs:RecordCount()
by nageswaragunupudi
Thu Feb 21, 2019 1:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: null field in FW_OpenRecordSet
Replies: 11
Views: 1751

Re: Busqueda SQL

... se debe que teniendo: nCuenta:=105874 oRs:Source := "Select * from ejemplo WHERE Socio = + '&nCuenta' Order by Socio" nFind:=(oRs:RecordCount) //para saber si esta o no el numero de cuenta del socio Asi me pone como resultado: 1 (si lo encuentra, ya que es código único) Pero se ...
by yadira
Thu Jul 26, 2018 5:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Busqueda SQL
Replies: 15
Views: 3084

Re: DISP_E_UNKNOWNNAME: RECORDCOUNT

Sometimes oRSet is nil

in your code do:

if oRSet != nil
...
endif
by Antonio Linares
Fri May 26, 2017 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DISP_E_UNKNOWNNAME: RECORDCOUNT
Replies: 8
Views: 1405

Re: DISP_E_UNKNOWNNAME: RECORDCOUNT

I found the problem
Any solution please ?

Regardsm
by avista
Fri May 26, 2017 1:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DISP_E_UNKNOWNNAME: RECORDCOUNT
Replies: 8
Views: 1405

Re: DISP_E_UNKNOWNNAME: RECORDCOUNT

Hi

This error is produced on win10 64 bit is produced when some column in recordset contain non english language characters.
The same error is produced too on other methods
oRSet:MoveFirst()
oRSet:Eof()
....
On other versions of WIN is ok

Some solution ?

Best regards,
by avista
Mon May 22, 2017 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DISP_E_UNKNOWNNAME: RECORDCOUNT
Replies: 8
Views: 1405

Re: DISP_E_UNKNOWNNAME: RECORDCOUNT

Thanks for reply Rick

I have try
If oRset:RecordCount() > 0

and many other options

I use Informix database
May be that is the problem with ado and win 10?
or informix odbc driver ?
In any opinion RecordSet produce error on win 10

Best regards.
by avista
Wed Apr 19, 2017 8:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DISP_E_UNKNOWNNAME: RECORDCOUNT
Replies: 8
Views: 1405

Re: DISP_E_UNKNOWNNAME: RECORDCOUNT

Avista IF !EMPTY( oRSet:RecordCount ) // Vo sprotivno Znaci e 0  A couple of things .. as you probably know ( perhaps from your comment ) .. oRs:RecordCount() returns a numeric value .. you also may have a syntactical error .. ( ...
by Rick Lipkin
Thu Apr 13, 2017 1:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DISP_E_UNKNOWNNAME: RECORDCOUNT
Replies: 8
Views: 1405

Re: DISP_E_UNKNOWNNAME: RECORDCOUNT

Sorry, we need a reduced sample that can be compiled and run without changes. I already try one of my samples and found no problem with RecordCount.

EMG
by Enrico Maria Giordano
Thu Apr 13, 2017 12:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DISP_E_UNKNOWNNAME: RECORDCOUNT
Replies: 8
Views: 1405

Re: DISP_E_UNKNOWNNAME: RECORDCOUNT

Thanks for reply Error is produced at this line IF !EMPTY( oRSet:RecordCount ) // Vo sprotivno Znaci e 0 Regards, //----------------------------------------------------------------------------//FUNCTION SnimeniKonekcii() // Da se procitaat snimenite ...
by avista
Thu Apr 13, 2017 12:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DISP_E_UNKNOWNNAME: RECORDCOUNT
Replies: 8
Views: 1405

Re: DISP_E_UNKNOWNNAME: RECORDCOUNT

Can we see a PRG sample showing the problem, please?

EMG
by Enrico Maria Giordano
Thu Apr 13, 2017 12:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DISP_E_UNKNOWNNAME: RECORDCOUNT
Replies: 8
Views: 1405

DISP_E_UNKNOWNNAME: RECORDCOUNT

... 9200 Time from start: 0 hours 0 mins 6 secs Error occurred at: 13/04/2017, 14:07:45 Error description: Error ADODB.RecordSet/6 DISP_E_UNKNOWNNAME: RECORDCOUNT Args:
by avista
Thu Apr 13, 2017 12:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DISP_E_UNKNOWNNAME: RECORDCOUNT
Replies: 8
Views: 1405
PreviousNext

Return to advanced search