AnsweredAssumed Answered

Dynamically change "whereclaues" of a dtlDropdown

Question asked by Utku Alp on Apr 19, 2017
Latest reply on Apr 19, 2017 by cdtj

Hi everyone


I need something on my change detaill screen, which dynamically changes the "whereclause" of another dtlDropdown item.


by default I have the macro below for z_TestDropdown attribute


<PDM_MACRO name=dtlDropdown hdr="Test Dropdown" attr=z_TestDropdown make_required=yes lookup=no whereclause="z_Code is not null">


I have also another dropdown attribute


<PDM_MACRO name=dtlDropdown hdr="Main Dropdown" attr=z_MainDropdown make_required=yes default="X" evt="onChange=\\\"test_change(this);\\\"">


I'm trying to change the whereclaues of "z_TestDropdown" if the value of "z_MainDropdown"changes but I couldn't achieve it. Is that possible?