to select the group I give the way that the end user can select the group (ngroup ) from an array aGroup on which to print and groups
Before printing I have to index on the selected group
if an archive (odbf) is online I do it normally
but if I have an array how can I sort?
I assume that the oBrw is open in autosort and I create the agroup array and field array doing it this way
Before printing I have to index on the selected group
if an archive (odbf) is online I do it normally
oDbf:setorder(nGroup)
oDbf:gotop()
oBrw:oDbf:SetOrder(nGroup)I assume that the oBrw is open in autosort and I create the agroup array and field array doing it this way
AEval( oBrw:aCols, { |o| If( o:lHide .or. Empty( o:cSortOrder ),, AAdd( aGroup, o:cCbxItem ) ) } )
AEval( oBrw:aCols, { |o| If( o:lHide .or. Empty( o:cSortOrder ),, AAdd( acampi, o:cExpr ) ) } )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
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