Karen, I was playing with that but had not put the (CVAL(QUOTES)) in the proper location.
I also changed the file folders so there would be no spaces for the time being. That cared for the problem for now. I will attempt the CVAL function later. Thanks for the input. Jim ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Monday, May 17, 2010 3:46 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: attachment length I think the best course of action is to add your quotes to the beginning and end of your vTotPath variable: SET VAR vTotpath = ( cval('quotes') + .vSpecPath+.vSortdesc+'\'+.vModelEnquiry+'.pdf' + cval('quotes') ) LAUNCH &vtotpath Then test your mapimail plugin and see if that helps there too. I have no examples of that to test. Karen SET VAR vSpecpath = 'S:\Adobe PDF Files\Specifications\SpecJPB\' SET VAR vSortdesc = SortDesc IN Vendors WHERE Sortone = sortone RECALC VAR -- In the form I get these VAR so I can print to screen the existing PDF file. GETPROPERTY Product_Comp TEXTVALUE vModelEnquiry GETPROPERTY Comp_Sort1 TEXTVALUE vSort1 SET VAR vTotpath TEXT = NULL SET VAR vTotpath = (.vSpecPath+.vSortdesc+'\'+.vModelEnquiry+'.pdf') LAUNCH .vTotpath --- THIS WORKS!!. -- Ask if they want to e mail. ---- Prepare Required Parameters for MAPIMail3.RBL Plugin to Send E-Mail SET VAR vpipe = '|' SET VAR vto = 'TO:' SET VAR vsubject = ('Subject:Spec Sheet from Kay Park Recreation'&.vModelEnquiry) SET VAR vcc = '' SET VAR vbcc = '' SET VAR vbody TEXT = 'Body:Here is your Spec Sheet from Kay Park Recreation. Thanks!' SET VAR vattachments = ('Attachments:'+(.vtotpath)) SET VAR vsenddirect = 'SendDirect:TRUE' SET VAR vparameters = (.vorder+.vdummy&.vpipe+.vto&.vpipe+.vsubject&.vpipe+.vcc&.vpipe+ + .vbcc&.vpipe+.vbody&.vpipe+.vattachments&.vpipe+.vsenddirect) CLS PLUGINS mapimail3.rbl &vparameters

