Language Support for Caption Expressions The DBGETPROP( ) Caption field property for tables and views supports expressions as field captions. For more information, see the tables listing the field properties for tables and views in the DBGETPROP( ) Function. Note Support for using expressions as field captions should be used only with DBC tables in applications running on Visual FoxPro 8.0 or later. In earlier versions, the expression appears as a string literal. You can retrieve a field caption as stored in a database container (DBC) using the FIELD( ) function. For more information, see FIELD( ) Function.The new behaviour is as follows.
label.caption="=Thisform.caption"will make the caption of the label the same as the caption of the form. When you enter that caption in the PEM sheet, you will see the caption of the form in the label itself, but you will see =Thisform.caption in the pem-sheet.
>This.Label1.Caption = " =" && No error >This.Label1.Caption = "= " && Error >This.Label1.Caption = Chr(61) && Error >