ControlHeadingsAll
Syntax | BOOL = CS.ControlHeadingsAll |
---|---|
Use to | In the current record, control all controllable headings that are not already controlled. Same as using the command Edit > Control Headings > All. |
Parameters | None |
Comment | You must be logged on to use this macro command. |
Return values | TRUE if the action is successful, or FALSE if not. Note: A return of FALSE indicates only that the action was unsuccessful. It does not differentiate specifically whether the command itself failed or whether one or more headings could not be controlled. |
Example | Sub Main() Dim CS As Object If CS.IsOnline = False Then CS.Search “WC”, “#1” CS.AddFieldLine 1, "650 0Ballet dancing " & Chr(223) & "v" & " Fiction" CS.ControlHeadings All CS.CloseRecord False If CS.ControlHeadingsAll() = True Then |
What this example does |
|