At 09:37 AM 11/21/2004 -0500, Deb Roepken wrote:
I'm trying to display a column value in an application caption. Which property should I use?
Deb,
Use the PROPERTY RBASE_FORM CAPTION 'value' as suggested by Mike Byerley.
In addition, here are a few more options:
PROPERTY APPLICATION TITLE 'YourApplicationTitle' RETURN
If your application is based on a form, you may also use the "Dynamic Caption" property of the form designer.
This feature allows you to display dynamic captions based on Variable or Column values.
The variable option allows you to choose a variable from the list of defined variables which will be displayed as the form caption.
Column value allows you to choose a table and column from the list of associated table(s) and their respective column(s) values which will be displayed as the form caption.
For samples, take a look at the following forms:
Database: ConComp Form: DynamicFormCaption
Database: RRBYW8 or RRBYW9 Form: SalesTransactions (Dynamic caption based on a variable)
Hope that helps!
Very Best R:egards,
Razzak.
