That did it. The problem was i was trying to test the form before using it and was setting the variable in the Layout/On Before Design Action. And that does not work. But if set and call before Running the form it works fine. Thanks, Matthew D. Brock
________________________________ From: Bill Downall <[email protected]> To: RBASE-L Mailing List <[email protected]> Sent: Thursday, March 13, 2014 1:35 PM Subject: [RBASE-L] - Re: Changing caption on a Form 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 > >

