How to Display Concatenated Fields in a Text BoxID: Q138999 3.00 WINDOWS kbprg kbhowto The information in this article applies to:
SUMMARYA text box on a form can display concatenated values from multiple fields. This can be accomplished by putting an expression in the Refresh method of the text box. Both the ControlSource and Value properties of the text box should be left blank and the ReadOnly property should be set to True (.T.).
MORE INFORMATION
Step-by-Step ExampleTo demonstrate how a text box can display concatenated values, follow these steps: 1. Create a new form. 2. Add the Customer table to the Data Environment. 3. Using the form Controls toolbar, place a text box on the form. 4. In the text box Refresh method, type the following:
5. Ensure that the text box ControlSource and Value properties are blank.
6. Add a command button to the form, and place the following two lines in
6. Run the form, and press the command button to observe the values in the
Additional reference words: 3.00 VFoxWin
KBCategory: kbprg kbhowto
KBSubcategory: FxprgGeneral
|
Last Reviewed: November 10, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |