I added the 'else if' statement, now I'm getting a syntax error message
when I try to validate.


Christopher Reilley
Business Systems Analyst - Printing
W.B. Mason Co.
59 Centre Street, Brockton, MA 02303
[EMAIL PROTECTED] 

(p) 508.436.8693 
(f) 508.436.5090 
(c) 781.308.2083 

> -----Original Message-----
> From: Ryan Blackmer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 18, 2007 10:32 AM
> To: FusionPro Users Forum
> Subject: [fusionpro] Re: script for coding first 6 digits based on zip
> 
> Christopher,
> 
> Your code was close but needed "else if"s added. Try something like
> this:
> 
> if (Field("Zip") == "10007")
>       return "646 587";
> else if (Field("Zip") == "02199")
>       return "617 425";
> else if (Field("Zip") == "60611")
>       return "312 266";
> else if (Field("Zip") == "10011")
>       return "212 463";
> else if (Field("Zip") == "94102")
>       return "415 345";
> else
>       return " ";
> 
> Ryan
> 
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
> Calling all FP Web Users!
> 
> Do you have a question or lots of knowledge to share about FusionPro
Web?
> 
> If so, join our Printable Web to Print Users' Forum today!
> 
> Send email to [EMAIL PROTECTED] to find out how!
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
> 
> 
> --
> Users of FusionPro Desktop have unlimited free email support. Contact
> Printable Support at [EMAIL PROTECTED]
> --
> View FusionPro Knowledge Base, FusionPro Samples at
> www.printable.com/vdp/desktop.htm
> 
> --
> You are currently subscribed to fusionpro as:
> [EMAIL PROTECTED]
> To unsubscribe send a blank email to leave-fusionpro-
> [EMAIL PROTECTED]
> --
> 
> 
> --
> Note:  All e-mail sent to or from this address will be received or
> otherwise recorded by the e-mail recipients of this forum. It is
subject
> to archival, monitoring or review by, and/or disclosure to someone
other
> than the recipient. Our privacy policy is posted on
www.printplanet.com
> --


+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Calling all FP Web Users!

Do you have a question or lots of knowledge to share about FusionPro Web?

If so, join our Printable Web to Print Users' Forum today!

Send email to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-


--
Users of FusionPro Desktop have unlimited free email support. Contact Printable 
Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--


--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to