• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1302
  • Last Modified:

power builder datawindow itemchanged computed fields

I have a datawindow with some computed fields.  I also have some fields that I need to calculate values for (in code) in the item changed event.  

The problem is that i need to access the values from the computed fields to perform these calculations.  But it seems as though the item changed event is fired before the computed fields are recalculated and take on their new values.

How can I get around this??

As another note if I search below for the topic Power Builder, nothing comes up.  But I'm sure there was a PowerBuilder topic at one time.  Please feel free to move this question to where I will get hits.  Thanks
0
Fraser_Admin
Asked:
Fraser_Admin
1 Solution
 
diasroshanCommented:
Hi,

Please change the topic area to Powerbuilder.

You can try the below solution,

In the code, call dw_1.GroupCalc() [<dw_name>.GroupCalc()] before you fetch the value of the computed field.

Cheers,
Rosh
0
 
Fraser_AdminAuthor Commented:
I can't seem to find the PowerBuilder topic.  If i do a search it doesn't come up?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now