Hello,
I'm designing a form which include a table with only one header row and one body row. However, this row is set to have multiple values so it will depend on the data on the system it may have 1-n rows.
What i want to accomplish is:
Limit some of the rows to be visible when in one of the fields have a specific value "x".
Item | Main item | Description |
---|---|---|
10 | Product A | |
20 | 10 | Product B |
30 | 10 | Product C |
40 | Product D |
I want to restict the lines 20 and 30 to be visible in the form. So when field main item is populated, the line should be hidden.
if(Form1.bdyMain1.frmTableItems.tblItems.rowItemContent.colProdDesc.rawValue == "");
then
Form1.bdyMain1.frmTableItems.tblItems.rowItemContent.presence = "visible";
else
Form1.bdyMain1.frmTableItems.tblItems.rowItemContent.presence = "hidden"
endif
Tried to use this code but the entire row gets deleted, i guess it is considering only 1 row...
Anyone knows how to accomplish this?
Many thanks in advance
Cheers