- François Rossignol
- PowerBuilder
- Wednesday, 23 January 2019 09:20 AM UTC
Hi,
I'm using PB 2017 R3
I have a global function string f_global_function (date ad_date)
return(g_global_object.date_functions_object.of_method(ad_date))
If I use that global function in a computed field in a datawindow the function is never called
f_global_function(date_field)
I modified my global function string f_global_function (string as_date)
return(g_global_object.date_functions_object.of_method(date(as_date)))
and it works perfectly.
I'm not very keen on the conversion of dates and I'd like to stick to the date datatype.
Is this a normal behaviour of PB or is it a bug for which I shall open a ticket ?
Regards,
François ROSSIGNOL
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.