Chris,


Also, take a look at the samples included with ConComp,
RRBYW, RRBYW2, RRBYW3, RRBYW4, RRBYW5, RRBYW6, RRBYW7
and RRBYW8 regarding the PRINT command and Enhanced
PRINT options.

Examples:

ReportSyntax.RMD
ReportSyntaxExec.EEP
ReportSyntaxVARS.EEP
PrintReports.RMD
PrintReportsWithWHERE.RMD

Have fun!

Very Best R:egards,

Razzak.

At 07:46 PM 2/6/2004 -0500, Chris Szeto wrote:

Worked like a charm. Thank you very much.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dan
Goldberg
Sent: Friday, February 06, 2004 7:42 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Print command using a dynamic filename.


Try the & symbol instead of the .


Dan Goldberg

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris
Szeto
Sent: Friday, February 06, 2004 4:34 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Print command using a dynamic filename.


Has anyone been successful in creating a print command that incorporates a variable in place of a hard coded filename?

I have tried using one but I keep getting an error.  Something to do with
the single quotes.

EXAMPLE

SET DATE FORMAT YYYYMMDD
SET VAR vJB = 'C:\JB'+CTXT(.#DATE)+'.txt'
SET DATE FORMAT MM/DD/YY
PRINT <report> WHERE <criteria> OPTION TXT|FILENAME .vJB
return

Unfortunately it does not like the single quotes (at least that's my
assumption correct me if I'm wrong).

Is there anyway around this?
Thanks.



Reply via email to