I will put more code here and maybe someone can show me where I messed
up.

I had it working then I must have made changes somewhere that affected
the code.

 

-- Get spec sheets & email for models.

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

 

This is where I get my error 11 "attachments not available."

 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Monday, May 17, 2010 12:59 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: attachment length

 

I'm not sure how "arbitrary" the problem is, it's always been something
to be handled differently.  At the r> prompt you can't do:
       dir c:\program files
You have to do:  dir 'c:\program files'

Typing:   launch c:\program files\test.pdf   results in "file not
found",
but this works:  launch 'c:\program files\test.pdf'

The one exception I've noticed is that in the print command you don't
have to worry about spaces.  IE: this works okay:

print reportname option pdf | filename c:\program files\test.pdf | open
on

Cannot comment on your mail question.

Karen





Karen,

I have a couple of questions.

1) Is this an "Arbitrary" problem with spaces?
The reason I ask is all the file folders that contain the PDF files I
want to be able to send have spaces.
I have not had this problem with those other file folders.
Another strange (at least to me) thing is the pdf file prints to screen
prior to asking if they want to email.
In the case of this problem folder, the files do print to screen so the
computer is "seeing" the file ok.
It is only when I want to send those files in that folder that I receive
this error.

2) Is there a way to prevent RBASE from locking up in the mail program
so I can trace the problem or at least be able to close it down
properly?

Jim



 

Reply via email to