I cannot quite figure out the proper syntax for the color tag. The program tells me I have a syntax error, but not what that error is. Any suggestions?
Here is my script:
var lineOut = "";
if (Field("Direct") != "")
lineOut += <color cmyk="0096d6">"Direct"</color> + " " +
Field("Direct");
if (Field("Phone2") != "") {
if (lineOut != "") {
lineOut += " " + Field("Phone2type") + " " +
Field("Phone2");
}
else {
lineOut += Field("Phone2type") + " " +
Field("Phone2");
}
}
if (Field("Phone3") != "") {
if (lineOut != "") {
lineOut += " " + Field("Phone3type") +
Field("Phone3");
}
else {
lineOut += " " + Field("Phone3type") +
Field("Phone3");
}
}
return lineOut;
Christopher Reilley
Business Systems Analyst - Printing
W.B. Mason Co.
59 Centre Street, Brockton, MA 02303
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
(p) 508.436.8693
(f) 508.436.5090
(c) 781.308.2083
<<image001.gif>>
