-
Robert Sawyer
- PowerBuilder
- Tuesday, 28 October 2025 06:21 PM UTC
Im trying to determine if a datawindow contains a group at runtime. All of these scripts don't work.
ls_band = dw_1.Describe("Datawindow.band.groupheader.height")
ll_groups = Long(dw_1.Describe("Datawindow.Group.Count"))
ls_groups = dw_1.Describe("Datawindow.Groups")
I'm trying to do this in a grid.
I went to Rows/Create group...
---------------------------------------------------------------------------------------------------------------------------
Here is what I am trying to accomplish.
- Determine if the dw contains a group.
- Get the columns contained in the group.
- Get the sort for the group.
- I have a field above each column in my list (below the group) in which you can add the column to the sort.
- So I want to append the column sort to the group sort then sort the dw and then call a groupcalc()
Alo, from John's comment below, this may all be for naught because I'm trying to use this in a grid dw.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.