Hi,
I'm trying to add a button for every row on my datawindow that can be used to expand the results. Now i got this working except I can't seem to find a way to change the button i click to represent that its in expanded mode. So for example, the user clicks the "+" button, and now i want the...
thank the reply guys
After some advice from others, and thinking about this more, I managed to do everything through SQL using UNIONS and GROUP by.
Whether this is the right way to do this in the long run, well time will tell
Again, thanks for the help. Its very hard to find information on...
Query 1:
Select account, sum(rate) from
table1 where
locationID = 676
group by account
Query 2:
Select account, sum(rate) from
table1 where
locationID = 767
group by account
Report:
Account LocationID.1 LocationID.2 Total...
I've got a situation where, within a single window, i need to have two different (although same columns) queries, and provide a total column to the far right.
I'm not exactly sure the best way to approach this. Keeping in mind that although they both will return results with the same columns...
everything is the same, except that
menuItems[count].Text = "test" + count
is a bit longer. And you are right, it would need a (String) to make it compile.
cid is a long array of size 5
If i use the menuitem visible and enabled properties directly, everything works fine.
I have no problem...
Thanks for the quick reply theklOwn
I call the function to determine if the menu items should be shown when the program is first ran.
Heres the code:
// check whether the menu entries should be visible
FOR count = 1 TO 5
IF cid[count] > 0 THEN
menuItems[count].Text = "test" + count
IF...
Powerbuilder 9.03
When i run a small loop (5 iterations) and hide up to 5 menu
items using the .Hide() function it greys out any maximized windows close "X" button at the top right.
If i change this to .Visible = false this problem does not arise.
Is this a known bug?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.