Just by looking at this it certainly looks too long. Have you actually
counted the characters.
One way to get around this is tp break up the cBody assignment.
cBody+=" ... and so on..."
Post by Dan AndersonI do use the semicolon to break up one especially long text line. I am
generating an email that summarizes a group of certificates of insurance
which are attached. The catch is that the body of the email must be
developed using one long line. Would it see the line as too long if I
break it into a group of lines that are combined as one "cBody?" Here's
the line as it is right now.
cBody = "This is to confirm coverage"+iif(nPolicies>1, "s", "")+" bound on
your submission for '"+cFullName+":' ";
+CHR(13)+CHR(13)+"Effective date: "+
TRIM(cEffdate)+CHR(13)+CHR(13);
+iif(cPD="Y", "Physical Damage "+TRIM(cPDpolicynumber)+"
"+TRIM(cPDcarrier)+CHR(13),"");
+iif(nPolicies>1, +iif(cNT="Y", +"Non-Trucking Liability
"+TRIM(cNTpolicynumber) +" Occidental Fire and Casualty Co. of North
Carolina"+CHR(13), +"Cargo "+TRIM(cCGpolicynumber) +"
Penn-America Insurance Company" +CHR(13)),;
+"");
+iif(cPD="N",+iif(cNT="Y", +"Non-Trucking Liability
"+TRIM(cNTpolicynumber) +" Occidental Fire and Casualty Co. of North
Carolina"+CHR(13), +"Cargo "+TRIM(cCGpolicynumber) +"
Penn-America Insurance Company" +CHR(13)),;
+"");
+iif(nPolicies=3, +"Cargo
"+TRIM(cCGpolicynumber) +" Penn-America Insurance Company"+CHR(13), "" );
+CHR(13)+"The down payment, of $"+LTRIM(TRIM(cDownpayment))+
iif(nTotalFees>0, ", which includes the $50 installment fee","")+", will
be due from your agency on "+dDPduedate +".";
+CHR(13)+CHR(13)+"Your insured's next installment, of
$"+LTRIM(TRIM(cPayment))+", will be due on "+cDueDate +".";
+iif(cNT="Y",+CHR(13)+CHR(13)+"Because your client requested
non-trucking liability coverage we must have a copy "+chr(13)+"of the
lease agreement within 30 days.","");
+CHR(13)+CHR(13)+"If you are going to supply the MVR's they should
be in our office within 10 days.";
+CHR(13)+CHR(13)+"Please carefully examine your Certificate(s) of
Insurance to be certain all the information is accurate.";
+CHR(13)+"And, should you have any questions, never hesitate to
call.";
+CHR(13)+CHR(13)+"Thank you for your business!"+CHR(13);
+iif(UPPER(ID())="KELLIC", +CHR(13)+"Kelli Crone" ,
iif(UPPER(ID())="DAWNW", +CHR(13)+"Dawn Watt", iif(UPPER(ID())="TERESAJ",
+CHR(13)+"Teresa Jackson","")));
+CHR(13)+"United Brokers, Inc.";
+CHR(13)+"Phone: 800-444-4824"+ iif(UPPER(ID())="KELLIC"," Ext
123", iif(UPPER(ID())="DAWNW", " Ext 136", iif(UPPER(ID())="TERESAJ", "
Ext. 106","")));
+CHR(13)+"Fax: 812-949-4015"
--
Dan Anderson
UBI Processing Dept.
800-444-4824 ext 101
Post by Geoff Wass [dBVIPS]Post by Dan AndersondB+ I have a .wfm that won't run because it says that it is "too big to
compile." What is that about?
Dan,
How big is the file you are trying to compile? Does it have an large
number of objects? Do you use ; to continue several lines into one long
command?
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada
.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
.|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
---
avast! Antivirus: Inbound message clean.
Virus Database (VPS): 081124-0, 24/11/2008
Tested on: 24/11/2008 07:17:45 PM
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com
avast! Antivirus: Outbound message clean.
avast! - copyright (c) 1988-2008 ALWIL Software.