Hi
I am hoping someone would know why this is happening.
This is the setup
I have the CloudPro IDE with PowerServer installed. (This is all local)
Also, I run the app as IWA.
- There are several (user-defined) function calls in a button's clicked().
Something like this:
(some variable assignments)
function call #1 (it does file UPload by calling appeonfileservice user object)
(some process)
function call #2 (it does file DOWNload by calling appeonfileservice user object)
(some more process including a dw.Update() call)
when the update is successful
function call #3
(some other stuff)
For some reason, Powerserver skips function call #3. I have a messagebox() in the first line of the function's script just to make sure Powerserver does go in and do stuff. Unfortunately, that message box never popped up. That's how I figured function #3 is skipped all together.
The button's clicked() works just fine in Powerbuilder and all the script gets executed when running Powerserver BUT function #3.
I really can't figure out why function #3 is jumped over. (not a single line of script was executed in it)
Could you help?
Thanks
I am sorry to let you know PowerServer can't support the global function contain the overloaded function. So please separate your global function to two new functions to solve this issue.