Search found 58 matches: setodbf

Return to advanced search

MariaDB problem with large Table

... =========== Called from: .\source\internal\FWMARIA.PRG => FRECSET:SETXBROWSE( 955 ) Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SETODBF( 7407 ) Called from: .\source\classes\XBROWSE.PRG => XBRWSETDATASOURCE( 16591 ) Called from: .\source\function\XBROWSER.PRG => XBROWSE( ...
by mauri.menabue
Sat Jan 11, 2020 10:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB problem with large Table
Replies: 4
Views: 1103

Re: xbrowse too slow

... you are using the XBrowse definition clause "DATASOURCE" which I have never seen before. Apparently this does the same thing that oBrw:SetoDBF() does, so you don't need that. Take it back out. I also see that in your first post, the database was skipping as it should. Turning off the ...
by James Bott
Wed Sep 18, 2019 3:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse too slow
Replies: 30
Views: 4251

Re: xbrowse too slow

Did you do:

oBrw:setoDbf(oLotto)

Without that the database doesn't skip
to the next record.
by James Bott
Wed Sep 18, 2019 7:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse too slow
Replies: 30
Views: 4251

Re: To Nages : Explain me how I must make this tdatabase

... // Browse con los datos @ 00, 00 LISTBOX ::oLbx FIELDS ; ::oPaciente:Codigo, ::oPaciente:nombre, ... ...in fact if you remember we had to put a SetoDBF (odbf) or a calias because the tdata latrimenti did not work This is like saying that unless you program it right, it doesn't work. The same ...
by James Bott
Wed Mar 06, 2019 4:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : Explain me how I must make this tdatabase
Replies: 18
Views: 3298

Re: To Nages : Explain me how I must make this tdatabase

... point) this is not true, initially she told me that tdata works very well with the listbox (wbrowse), in fact if you remember we had to put a SetoDBF (odbf) or a calias because the tdata did not work, I sent the sources with notes explanatory notes for each group of operations and all the ...
by Silvio.Falconi
Wed Mar 06, 2019 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : Explain me how I must make this tdatabase
Replies: 18
Views: 3298

Re: to Nages : probl..FW_ArrayToDbf with tdatabase - RESOLVED!!

Use DATASOURCE oServizi Do no use DATASOURCE oServizi:cAlias With COLUMNS clause never use field numbers. Use only field names Do not again use :SetODbf() Do not use COLUMNS clause and also AUTOCOLS. Both are mutually exclusive. WRONG: @ 70,20 XBROWSE oBrw SIZE -20,-20 PIXEL OF oDlg ;COLUMNS 5,2 ...
by nageswaragunupudi
Thu Jan 31, 2019 1:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: to Nages : probl..FW_ArrayToDbf with tdatabase - RESOLVED!!
Replies: 20
Views: 3299

Re: to Nages : probl..FW_ArrayToDbf with tdatabase - RESOLVED!!

But on Xbrowse no need the command :SetoDbf(oServizi) ??? You should NOT. In the XBROWSE command we state "DATASOURCE oServizi". XBrowse automatically sets SetOdbf(). We should not again do it. why you rem ordine field from cSwapFields ...
by Silvio.Falconi
Thu Jan 31, 2019 8:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: to Nages : probl..FW_ArrayToDbf with tdatabase - RESOLVED!!
Replies: 20
Views: 3299

Re: to Nages : probl..FW_ArrayToDbf with tdatabase - RESOLVED!!

But on Xbrowse no need the command :SetoDbf(oServizi) ??? You should NOT. In the XBROWSE command we state "DATASOURCE oServizi". XBrowse automatically sets SetOdbf(). We should not again do it. why you rem ordine field from cSwapFields ...
by nageswaragunupudi
Thu Jan 31, 2019 4:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: to Nages : probl..FW_ArrayToDbf with tdatabase - RESOLVED!!
Replies: 20
Views: 3299

Re: to Nages : probl..FW_ArrayToDbf with tdatabase - RESOLVED!!

THANKS But on Xbrowse no need the command :SetoDbf(oServizi) ??? why you rem ordine field from cSwapFields ? Problem ....when you add a record the field ORDINE IS ZERO , then if you move it up ( 1 step) the number is 7 but the last record have ...
by Silvio.Falconi
Wed Jan 30, 2019 8:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: to Nages : probl..FW_ArrayToDbf with tdatabase - RESOLVED!!
Replies: 20
Views: 3299

Re: A toolbox of netfunctions and tDatabase-tests

... xBrowse. I suspect you specified "CUST" was the alias. You need to do this to specify that the browse is using a database object: oBrw:SetoDBF( oDatabase ) // where oDatabase is whatever name you have used for the database object oBrw gets the alias from there. James
by James Bott
Fri Jan 25, 2019 5:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A toolbox of netfunctions and tDatabase-tests
Replies: 30
Views: 6182

xBrowse refresh problem

... := AL_CENTER oCol := oBrwPed:AddCol() oCol:bStrData := { || DTOC(VENDA->DTBAIXA)} oCol:cHeader := "DT BAIXA" oBrwPed:SetoDbf(oVenda) I some point i need to delete one record and I use: oVenda:Delete() oBrwPed:Refresh() In File the record is deleted but the xbrowse ...
by Wanderson
Sun Mar 04, 2018 7:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse refresh problem
Replies: 2
Views: 687

TDatabase FWH 17.08 : Datas and Methods

... object. uChild can be workarea number of other TDatabase object 88. SetXBrowse( oBrw, aCols, lAutoSort, lAutoCols ) Internal Used by XBrowse SetoDbf() method 89. Skip( nRecords ) Skips nRecords, executes bBof or bEof when necessary and loads field values into ::aBuffer if ::lBufer is true. ...
by nageswaragunupudi
Fri Sep 15, 2017 12:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase FWH 17.08 : Datas and Methods
Replies: 1
Views: 1781

New FTDN June/Junio 2016 (FWH 16.06)

... TDatabase. Fixed now. Users of 16.05, not upgrading to 16.06 can apply this fix by adding one line: ::lRelyOnKeyNo := .f. anywhere in the method SetOdbf() - Fix: There is a long standing bug in ADO seek. In case of ADO seek, entering '*' results in runtime error. Fixed. Users not upgrading to ...
by Antonio Linares
Sun Aug 07, 2016 7:03 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2016 (FWH 16.06)
Replies: 2
Views: 2340

Re: Problem with TPanel Paint Method

... I am using FWH 15.05/xHarbour Update 2: OK, I found the problem. Replace this line: oBrw:bSkip:= {|nRecs| oCust:skipper(nRecs) } With this: oBrw:setoDBF( oCust ) And all is OK. My bad! James
by James Bott
Wed Sep 09, 2015 4:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with TPanel Paint Method
Replies: 12
Views: 2560

Re: xBrowse + OO Array

... two alternatives: Alternative-1: Define a METHOD SetXBrowse( oBrw, aCols, lAutoSort, lAutoCols ) In this method you write code similar to that in SetODbf() method of xbrowse. You need to take care of all xbrowse settings. Then you define XBROWSE the same way like you define XBROWSE for RDD/ADO. ...
by nageswaragunupudi
Fri Jun 06, 2014 4:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse + OO Array
Replies: 16
Views: 4635
Next

Return to advanced search