Hi,
I am having several apps with a grid widget that uses a similar filter (Select customer).
The filter uses a Initial Value Program. This program is the same for all widgets/apps that uses this filter, only the field parameter in the SetValue function differs depending on the grid widget the Initial Value Program is called from.
Like:
SetValue('PMVA3':%char(CustomerNumber));
The 'PMVA3' value is dependent on the widget.
Now I can recreate a Initial Value Program for each filter but it would be cleaner if I could request the calling grid widget id in my program and adjust the SetValue accordingly.
Is that possible?
Regards,
Theo
I am having several apps with a grid widget that uses a similar filter (Select customer).
The filter uses a Initial Value Program. This program is the same for all widgets/apps that uses this filter, only the field parameter in the SetValue function differs depending on the grid widget the Initial Value Program is called from.
Like:
SetValue('PMVA3':%char(CustomerNumber));
The 'PMVA3' value is dependent on the widget.
Now I can recreate a Initial Value Program for each filter but it would be cleaner if I could request the calling grid widget id in my program and adjust the SetValue accordingly.
Is that possible?
Regards,
Theo
Comment