Alastair,
I ran the following in R:Base 2000 v6.5++ build 1.862 and
using the Concomp database:
-- caption.rmd
SET VAR vfCurrNum INTEGER = 295
SET VAR vCaption = ('Current Number:' & (CTXT(.vfCurrNum)) )
EDIT USING employee CAPTION .vCaption
The caption appeared in the very top line next to the R:Base
logo. The caption said: Current Number: 295.
Take care.
Randy Peterson
PS. If you want to show a number which changes as each row
is reviewed, simply put a variable on the form. It is easy
to precede it with text such as
Invoice Number [.vInvoiceNo].
----- Original Message -----
From: "Alastair Burr" <[EMAIL PROTECTED]>
To: "R:Base ListServer" <[EMAIL PROTECTED]>
Sent: Sunday, December 01, 2002 4:28 AM
Subject: Forms: a couple of semi-surprises and a request
> Here's something that I just tried hoping it might work:
>
> On a form I defined a variable:
> vCaption = ('Current Number:' & (CTXT(.vfCurrNum)) )
>
> Then I ran the form using:
> EDIT USING ... WHERE ... CAPTION .vCaption
>
> It didn't work although I half-expected the first row to
show the caption
> before the form was entered and then be one row behind on
subsequent rows.
> (The variable is fine if placed normally on the form.)
>
> Anybody know if it's possible to get a form variable into
the form's
> caption?
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/