Group on xbrowse

Group on xbrowse

Postby Silvio.Falconi » Sun Feb 26, 2023 5:28 pm

Is it possible in xbrowse to group records without using the tree procedure ?

I saw the xbrwtree.prg sample But it is no good

if i have to use the tree i can do it in another xbrowse ie if i have a dialog and i have a combox where the user can select "group customers by status" i have to create another xbrowse i can't use the same one which is in the dialog . what if the user no longer wants grouping?

I would like to make the end user could group the records according to conditions for example for customer.dbf files, the end user could group the customers of a certain state (state), create that which creates the Report class for the groups but on the xbrowse

i.e. a procedure could be if the user wants grouping by a field e.g. state the procedure has to index by the state field like it does now in autosort , and has to insert a row when the state changes value like I tried to draw below

For a sample : ( I draw it )

Image
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 95 guests