I knew the concept of Concatfields/Connectfields these rules.I want to explore more on these rules. I still didnt get how could we code using these rules ? Please hlep me to code using this..
I have created a section with two fields named TEST1 and TEST2.
TEST1 - I have used MK_HARD rule and passing a value as "Effective from : ".
TEST2 - I have used MK_HARD rule and passing a value as "December".
In the section level under section rule i have select Concatfields rule and mentioned there like F=TEST1,R=TEST2;
Now i added this section to form and running the batch file but i got the following error.
DM10157: Error in <CONCATFIELDS>: <TEST2;> is an invalid field. Image: <TEST>. This rule does not work with Barcode type fields or Multiline Text fields.
DM12086: Error in RPDoImageRules(): Unable to <CONCATFIELDS>().
So means i have wrongly coded. Please help me to understand how to code using these rules ?
A) I'm using documaker 11.5.
B) I understood like using these rules we can concatinating the fields.
CONCAT: This is used to concat two or more text strings.
For Example: you have a HDR record and at position 30 you have text "A", at position 40 you have text "B" and at position 50 you have text "C".
In this case when you use CONCAT fields 1,HDR 30,1,40,1,50,1 your output would be A B C
CONNECTFIELDS/ConcatFields: This rule is used to Connect fields that are horizontally alligned.
For Example: I have 3 fields Field_A Field_B Field_C in an image in a row. and when I use Conenct Fields rule, F=Field_A,R=Field_B,R=Field_C. Now I have no data being printed in Field_B in that case the output would be Field_A Field_C
Just give rule name as ConnectField and in data column: F=Field_A,R=Field_B,R=Field_C without any semicolons.