- Keeley Stalnaker
- PowerBuilder
- Tuesday, 9 February 2021 05:52 PM UTC
Hello;
I am working on a PB app that has existed peacefully for some time, but now needs some new info added to a report. I created an Oracle function to get this value. The function is working fine, kicked off by a button clicked event of a window that gets a bunch of parameters from the user and then opens the report datawindow. I am assigning the function's return value to a variable and passing it to my report via OpenWithParm.
I created a static text box and assigned the value (in the window open event) to the report using DataWindowName.Object.Textboxname.Text = thevariable. This works fine for display only. However, is there a way I could use this value in a computed expression? I want to add it to the value of a column that is already on the report, coming from an SQL select data source.
Thank you for any advice for this PB newb!
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.