on 10-10-2013 4:55 PM
Hello,
I have a question regarding a change of the caption of the text field depending on other field.
In a table I have two raws - raw1 and raw 2.
Raw1 = contains text field (F1) with rawValue X or Y
Raw2 = contains text field (F2), where caption should change depends on F1 (X or Y). Original caption of F2 = "test text YYY".
What I want is:
if ( F1.rawValue == "X") then
F2.caption.value.#text = "test text XXX";
endif
This code is implemented under F2.
But the problem is program doesnt check F1. It seems it doesnt see F1 from F2. Caption of F2 stays "test text YYY".
Can you help me to resolve this issue? Thanks in advance,
Evgenij
Hi Evgenij,
Please access F1 through it complete path or place F1 and F2 in same subform. Also check if language you are using is formcalc.
Thanks,
Rakesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rakesh,
F1 and F2 are in the same subform, in the same table, just in two different raws.
Language is Formcalc. Changing of caption is working, just the check of F1 is not.
What is the right syntax for complete path of F1?
Like from data binding (e.g. $.DATA.HEADER.GR_HEAD.DEPEXNUM) or with with $record..... ?
thanks,
Evgenij
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.