Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Disable Choose from list at runtime

Hi all,

is there a way to disable choose from list at runtime in a text columns in a matrix ?

I'm developing with SAP B1 2007 SP01 PL 12 HOTEFIX1

I need at runtime, depending on the value on another columns in a matrix (in the validate event) to enable or disable choose from list in another text columns (and relative icon).

If i change the choose form list with another one, it runs regularly, but if i need to disable, it seems impossible.

E.g.: this runs:

mtxDish.Columns.Item("dtDPName").ChooseFromListUID = "cflDish1"

mtxDish.Columns.Item("dtDPName").ChooseFromListAlias = "Name"

this not runs:

mtxDish.Columns.Item("dtDPName").ChooseFromListUID = "" (this cause exception, the same with "-1")

mtxDish.Columns.Item("dtDPName").ChooseFromListAlias = ""

Any idea ?



Not what you were looking for? View more on this topic or Ask a question