on 04-10-2019 9:53 AM
Hey
I have a table in my form in sap pdf editor in which I want to change the font color (not background) depending on the value of a certain column in this table.
That is, I have lets say columns F0, F1, ..., Fk and a column F(k+1) of type CHAR11 which contains a color. Examples: "243,222,125" and etc (9 digits and 2 commas, CHAR11).
I want to change the color of each row so it will be the value in the F(k+1) field.
How I try to do it:
In the body row of the table In indexChange I insert the following code:
$.FieldName.fontColor=$.Color
(Color is the name of the column F(k+1))
But I get an error of "Argument mismatch"
Why? How can i fix it?
Edit: I've tried to change the code to:
$.FieldName.fontColor=$.COLOR.rawValue
or .value
Both still return "Argument mismatch in property or function argument"
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.