@Jimmy, I don't understand what you mean with the 'set relation' in an array.
@Wolfgang: Yes a treeview seems to be a logical choice, but the layout of a treeview doesn't provide columns, and also it doesn't provide totals and subtotals.
I will check the possibilities of the report-control of Codejock. That has the layout as needed.
but the layout of a treeview doesn't provide columns, and also it doesn't provide totals and subtotals.
You can calculate them when building your treeview (or expanding the treeview) and put the sum in the CARGO of each treeview item and showing them in on a separate static.
And your "columns" are the different childitems.
I solved this problem with the codejosk reportcontrol. I has the possibility to change the order. It recalculates automatically. The user can sort on the column he/she wants with simple drag and drop.
Sorted and subtotals by brand and category:
brandcategory.PNG (31.72 KiB) Viewed 14783 times
Sorted and subtotals by Category and brand:
category-brand.PNG (21.26 KiB) Viewed 14783 times
Sorted and subtotals by Category - Subcategory - Brand:
cat-subcat-brand.PNG (27.06 KiB) Viewed 14783 times
skiman wrote:@Jimmy, I don't understand what you mean with the 'set relation' in an array.
i mean to make 2 Browse in One ...
1St Browse is only 1st Column. 2nd Browse goes into "RELATION" when Cursor of 1st Browse is moved.
have to "generate" a Array Sample if you need it.
skiman wrote:Yes a treeview seems to be a logical choice, but the layout of a treeview doesn't provide columns, and also it doesn't provide totals and subtotals.
I will check the possibilities of the report-control of Codejock. That has the layout as needed.
hm ... Codejock Report Control ... Treeview and Listview in one Control ... look nice.
Codejock CONTROLs are good IN PRINCIPLE, but in practice, you will be disapointed with the SLUGISNESS of the controls. Try to populate 5000 items on the codejock report control, you will come back home quickly. In terms of performance on large datasets nothing close to Xbase++ in the market today except you are coding in C/C++.
Codejock CONTROLs are good IN PRINCIPLE, but in practice, you will be disapointed with the SLUGISNESS of the controls. Try to populate 5000 items on the codejock report control, you will come back home quickly. In terms of performance on large datasets nothing close to Xbase++ in the market today except you are coding in C/C++.