I am have a problem change the current control (Or I should say I do not know how to to this)
I want the control to change when a field value from a table is a certain value.
I have tried many varations of this code. I have also thried the code in the grid.init grid.Beforerowcolchange
IF order_details.odstatus = 2
thisform.pgfCustcare.pagorders.grid1.colinvoiced.DynamicCurrentControl = "text1"
ELSE
thisform.pgfCustcare.pagorders.grid1.colinvoiced.dynamicCurrentControl = "check1"
ENDIF
Any Ideas
I want the control to change when a field value from a table is a certain value.
I have tried many varations of this code. I have also thried the code in the grid.init grid.Beforerowcolchange
IF order_details.odstatus = 2
thisform.pgfCustcare.pagorders.grid1.colinvoiced.DynamicCurrentControl = "text1"
ELSE
thisform.pgfCustcare.pagorders.grid1.colinvoiced.dynamicCurrentControl = "check1"
ENDIF
Any Ideas