We have a dynamic browser on a container, and would like to be able to change the browse fields at run time.
I have tried the following (in a button trigger):
lch_displayedfields = "da_MoveDate,ch_name".
DYNAMIC-FUNCTION('setDisplayedFields':U IN h_dynbrowser, INPUT lch_DIsplayedFields).
RUN initializeObject IN h_dynbrowser NO-ERROR.
IF ERROR-STATUS:ERROR THEN MESSAGE RETURN-VALUE.
and nothing happens, no errors, no change of browse fields.
Does anyone have any suggestions, has anyone successfully done this?
I have tried the following (in a button trigger):
lch_displayedfields = "da_MoveDate,ch_name".
DYNAMIC-FUNCTION('setDisplayedFields':U IN h_dynbrowser, INPUT lch_DIsplayedFields).
RUN initializeObject IN h_dynbrowser NO-ERROR.
IF ERROR-STATUS:ERROR THEN MESSAGE RETURN-VALUE.
and nothing happens, no errors, no change of browse fields.
Does anyone have any suggestions, has anyone successfully done this?