[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Begin Document
Rob,
What you're doing should work. My only suggestions would be to
double-check the spelling ($send_date vs $send-date), local
vs global, etc. My test program worked fine:
begin-report
do main
end-report
begin-procedure main
move '10/10/98' to $send-date
do my_proc
end-procedure
begin-procedure my_proc
show $send-date
Begin-Document (+2,1)
This statement confirms your recent flex elections. employees in
the local area by $Send-Date upon receipt of this statement. Please
keep this form for your records.
End-Document
end-procedure
Produced
This statement confirms your recent flex elections. employees in
the local area by 10/10/98 upon receipt of this statement. Please
keep this form for your records.
and "showed"
10/10/98
Ray
> Hi. I am having some problems with something that sounds very easy. I
> am trying to include a variable in a begin-document in SQR. I carved
> some of the text out of the statement below, but you should still be
> able to get an idea of what I am trying to do. See below:
>
> Begin-Document (+2,1)
>
> This statement confirms your recent flex elections. employees in
> the local area by $Send-Date upon receipt of this statement. Please
> keep this form for your records.
>
> End-Document
>
> I displayed the $Send-Date field right before the begin document, and I
> am getting the date. But in the actual lis/spf file, there are only
> spaces where the variable is. Does anyone have any ideas? Thanks in
> advance.
> >Rob Budzinski
> >Hershey Foods Corporation
> (717) 534-7297
> RBudzinski@Hersheys.Com
>
----------------------------------------------------------------------
Ray Ontko | Ray Ontko & Co | "Time for a new signature line."
rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/