>I added a label to the form and in the caption (Don't have value) I added THISFORM.Label33.caption = Addr1 + "," + Addr2. When I ran the database it displayed on the screen THISFORM.Label33.caption = Addr1 + "," + Addr2. I must be doing something wrong. Thank you for your fast reply. I have been trying to find our how to do this all day.
In the Property Sheet, you have to start expressions with "=", to evaluate them. For a simple example, the Caption of a Label might be "=date()" (without the quotation marks).
The alternative is to put the code in the Init() method, or in some other method.
BTW, as a general rule, a label should have a more significant name than "Label33". For example, if it contains an address, you might call it LblAddress.
The same rule applies to other types of controls.
The main reason is to make your program more readable.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)