Search found 58 matches: recset

Return to advanced search

Re: New FTDN February 2024 (FWH 24.02)

... de Windows. * samples\mariabig.prg: Leer y navegar una tabla con 4.1 millones de registros desde un servidor mysql en la nube usando la clase RecSet() de la librería FWHMaria. * Mejora: Nuevo método Dispatch( bAction ) en la clase TWebView. bAction es un bloque de código que toma hWebView ...
by Antonio Linares
Sun Mar 03, 2024 7:25 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN February 2024 (FWH 24.02)
Replies: 1
Views: 202

New FTDN February 2024 (FWH 24.02)

... view oem box chars in a Winodws application. * samples\mariabig.prg: Read and Browse table with 4.1 million records from mysql cloud server using RecSet() class FWHMaria lib * Enhancement: Class TWebView() new METHOD Dispatch( bAction ) where bAction is a codeblock that gets the hWebView as the ...
by Antonio Linares
Sat Mar 02, 2024 8:31 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February 2024 (FWH 24.02)
Replies: 1
Views: 202

Re: mariadb_connect bigdata and read as page

Both RowSet and RecSet were available from the very beginning. Please continue using RowSet(...) only for normal use. You may use RecSet() only when you need to read for very large tables ( say more than 50000 records) and display ...
by nageswaragunupudi
Mon Feb 12, 2024 9:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: mariadb_connect bigdata and read as page
Replies: 3
Views: 303

Re: mariadb_connect bigdata and read as page

nageswaragunupudi wrote:Please see
viewtopic.php?f=3&t=44175


What is different between ::RowSet() and ::RecSet()?
Which the latest table FWH version of TRECSET ?

I have FWH2304 but not much of information of TRECSET, such as full parameter.

Thanks in advance,
by dutch
Sun Feb 11, 2024 3:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: mariadb_connect bigdata and read as page
Replies: 3
Views: 303

Re: RAO advice on using Mysql

oCn:RowSet( cSql, 100 ) means read first 100 records only Sameway oCn:RecSet( cSql, 100 ) also means read first 100 records only. But oCn:RecSet( cSql, -100 ) means read entire table with page size 100. RecSet does not read entire table atonce. That will take ...
by nageswaragunupudi
Wed Feb 07, 2024 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 973

Re: RAO advice on using Mysql

Thanks Rao ,
just what I was looking for :D .
What does -100 mean in oCn:RecSet( cSql, -100 )
I knowo Cn:RecSet( cSql, 100 ) but not with a negative sign

Regards Maurizio
by Maurizio
Wed Feb 07, 2024 8:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 973

Re: RAO advice on using Mysql

:ActiveConnections is only for ADO recordsets. In fwmaria lib, it is oRs:oCn. To change the sql, please make a new RecSet object, set it to oBrw:oDbf and then close the old RecSet object You may try this sample and use similar logic #include "fivewin.ch"function Main()  ...
by nageswaragunupudi
Wed Feb 07, 2024 4:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 973

Re: RAO advice on using Mysql

Hello RAO Since it is not possible to use filters with RecSet I am trying to close and reopen RecSet in xBrowse. I normally use WITH OBJECT oBrw:oRs         :Close()         :Source  := cNewSelectWithWhere          :ActiveConnection := oServer  ...
by Maurizio
Tue Feb 06, 2024 5:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 973

Re: RAO advice on using Mysql

Thanks RAO for the clear specification, and how to use RecSet.
Now we also know what methods are available.

Regards Maurizio
www.nipeservice.com
by Maurizio
Fri Feb 02, 2024 2:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 973

Re: RAO advice on using Mysql

... FieldGet(),FieldPut() SetOrder(cSort,,lDescend) Save() Close() or End() --------------- NOT SUPPORTED: Seek(), Filter(),Delete(),Append() The RecSet class is created in such rare cases where it is essential to read and display a big table in full. This is not possible with other libraries ...
by nageswaragunupudi
Fri Feb 02, 2024 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 973

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

Re: RAO advice on using Mysql

I'm trying oCn:RecSet() and it's very, very fast, I noticed that certain methods that work with oCn:Rowset() with :RecSet() don't work.


What size of tables you tested?
by nageswaragunupudi
Thu Feb 01, 2024 6:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RAO advice on using Mysql
Replies: 12
Views: 973

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 := ...
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
Next

Return to advanced search