FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse with array
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
xbrowse with array
Posted: Tue Apr 26, 2022 09:20 AM

What's happened ?
I converte a dbf into array and then I made

Code (fw): Select all Collapse
 @40,0 XBROWSE oBrw  SIZE -2,-2 PIXEL OF oDlg ;
           DATASOURCE aData COLUMNS aBrowse


the array abrowse is..

Code (fw): Select all Collapse
 local aBrowse   := { { "DATA",        i18n("Data "),,     80, },;
                    { "CONCORSO",    i18n("Concorso"),,  40, },;
                    { "BA1",    i18n("1"),,  30, },;     //3
                    { "BA2",    i18n("2"),,  30, },;
                    { "BA3",    i18n("3"),,  30, },;

......


How I can make to load all field of array (57) ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xbrowse with array
Posted: Wed Apr 27, 2022 04:07 AM
Code (fw): Select all Collapse
local aBrowse   := { { 1,        i18n("Data "),,     80, },;
                    { 2,    i18n("Concorso"),,  40, },;
                    { 3,    i18n("1"),,  30, },;     //3
                    { 4,    i18n("2"),,  30, },;
                    { 5,    i18n("3"),,  30, },;
Regards



G. N. Rao.

Hyderabad, India
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: xbrowse with array
Posted: Wed Apr 27, 2022 10:59 AM
nageswaragunupudi wrote:
Code (fw): Select all Collapse
local aBrowse   := { { 1,        i18n("Data "),,     80, },;
                    { 2,    i18n("Concorso"),,  40, },;
                    { 3,    i18n("1"),,  30, },;     //3
                    { 4,    i18n("2"),,  30, },;
                    { 5,    i18n("3"),,  30, },;


I wanted to see if maybe the xbrowse is faster if I convert the dbf to array
because on my computers I have the same problem (asus Rog with 8GBRam without ssd and Lenovo Miix320 with 4GBram without ssd )
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion