Home > database > How to use dw_1. Modify () function to set the font color for a certain line column
How to use dw_1. Modify () function to set the font color for a certain line column
Time:10-14
How to use dw_1. Modify () function to set a certain line of font color
How to use dw_1. Modify () function to get behind the first line, M field, 43 Numbers in red, other unchanged
Help niche write code directly, thank you
CodePudding user response:
//assume that String Columnname//M field name String ls_exp Long therow//as you need to change a line Long ll_red ll_black=0//black Ll_red=RGB (0, 255)
Ls_exp="~" 0 ~ t the if ((getrow ()="+ string (therow) +" and "+ Columnname +"=43), "+ string (ll_red) +", 0) " The Modify (" & lt; Columnname> Color="+ ls_exp)
CodePudding user response:
It almost forgot Ls_exp="~" 0 ~ t the if ((getrow ()="+ string (therow) +" and "+ Columnname +"=43), "+ string (ll_red) +", 0) "+" ~ ""
CodePudding user response:
This can be used. Then consult warrior.
Statements do not judge, direct a column in a row to change color,,, as long as don't satisfy the wants much change color..
How do you write the code. The code above only for a time, instead more changed not.
CodePudding user response:
For I=1 to dw_1. Rowcount () If dw_1. GetItemnumber (I, "m") & gt; Inventory quantity then Dw_1. Modify (m field font into red) how do you write the code End the if If dw_1. GetItemnumber (I, "L") & gt; Inventory quantity then Dw_1. Modify (L field font into red) End the if Next Niche cycle to judge of records, the lack of the number of multi-purpose color marked. Some column (see color change a line: http://bbs.csdn.net/topics/392031902 This change only one, can't change more.
CodePudding user response:
Instead of peers at the same time more, how to write