Try this:

SET DATE FORMAT YYYYMMDD
--put parenthesis around expression
SET VAR vJB = ('C:\JB'+CTXT(.#DATE)+'.txt')
SET DATE FORMAT MM/DD/YY
--Use ampersand instead of period to include contents in command
PRINT <report> WHERE <criteria> OPTION TXT|FILENAME &vJB

Dennis McGrath

> 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

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [EMAIL PROTECTED]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: 
Send a plain text email to [EMAIL PROTECTED]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [EMAIL PROTECTED]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, 
place any 
text to search for.
================================================

Reply via email to