Matthew,

So in a program file -- before you load the form with an EDIT or ENTER or
BROWSE command -- you are setting the variable?

Then just do this:

In the "On Before Start" EEP, be sure the variable exists, and is not
cleared or changed from what your external program put in it:

SET VAR vCaption TEXT

In the "On After Start" EEP, use your PROPERTY command:

PROPERTY RBASE_FORM CAPTION .vCaption

That works for me. R:BASE eXtreme 9.5 (64), U.S. Version, Build: 9.5.4.30310

Bill


On Thu, Mar 13, 2014 at 11:39 AM, Matthew Brock <
[email protected]> wrote:

> I am trying to do a simple operation like setting a caption on a form and
> it is not working.
>
> 1st i set a variable which later on will be set at runtime
> SET VARIABLE vCaption TEXT = 'This is the Caption'
>
> Then i try to set the form property in "On After Start"
> PROPERTY RBASE_FORM CAPTION .vCaption
>
> And when i run the  form i get an output for the Caption as ".vCaption"
> instead of the "This is the Caption"
>
> It seems like there is a lot of work to do simple items in RBase that can
> easily be done in other programmming languages.
>
>  Thanks,
> Matthew D. Brock
>
>

Reply via email to