'宣言 Public Property OnFormat As System.String
public System.string OnFormat {get; set;}
'宣言 Public Property OnFormat As System.String
public System.string OnFormat {get; set;}
This property contains VBScript instructions to be executed before the fields in the section are calculated. When this script is executed, the recordset already holds the data that will be displayed in the section, but the field values have not been updated yet.
Use this event to assign values to fields before they are calculated, so the new values will be taken into account when the control calculates the field's size and position when the CanGrow or CanShrink properties are set to true.
If you want to set field properties based on the field's current value, use the OnPrint property instead.