[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: rtf output for MSWord



Debbie,

You could concatenate the {}  to your data using the chr() function.
Something similar to the following:

Let $yourstring = $somestring || chr(123) || $somedata || chr(125)

Bruce

 -----Original Message-----
From:   Debbie Pavlak [mailto:dpavlak@EXCITE.COM]
Sent:   Tuesday, April 30, 2002 2:18 PM
To:     SQR-USERS@list.iex.net
Subject:        rtf output for MSWord

I created a Word document and saved it as rich text format.  Now, I'm trying
to create a sqr report as a rtf file using the information from my template.
I've been successful doing this for Excel "slk" files.
RTF files have numerous right and left curly brackets which produce sqr
errors.  I've tried to escape the curly brackets by replacing each single
one with 2 brackets, but sqr still tries to create substitution variables
when I write the data.

Does anyone have any ideas how I can escape these characters or what I'm
doing wrong?

Thanks so much!

------------------------------------------------