PowerBuilder: protect column row-by-row
Posted on 2000-03-09
I've been trying some time now but i can't find the solution: in a dw i have two dddw columns. By certain values of the first one the second one has to be disabled, but i want to disable it for only that one row in which those values are chosen. E.g. i have cars in the first dddw and extras in the second. If you choose 'x' car in the first dddw of the first row, it has no extras, so the second dddw in the same row has to be protected, but not for the other rows. The first dddw has a string column, "y"/"n", that's what the protected property should be depending on.
I've tried conditional statements in the protect property of the dddw column, but it doesn't seem to work with variables. I wonder if something like this is possible at all. I'm using PB 6.5.