Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

WordFile.RemoveTableRow

Removes a table row containing a placeholder.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WordFile 7.0 Yes Yes Yes Yes Yes

MBS( "WordFile.RemoveTableRow"; WordFile; Placeholder )

Parameters

Parameter Description Example value
WordFile The reference number of the open word file. $wordFile
Placeholder The name of the placeholder. "City"

Result

Returns OK or error.

Description

Removes a table row containing a placeholder.
If you have tables in your template word file and you only fill some rows, you can remove superfluous rows using this function.

Examples

Remove extra rows

Set Variable [$index; Value:5]
Loop
    Set Variable [$r; Value:MBS( "WordFile.RemoveTableRow"; $WordFile; "Bst_Menge_" & If($index < 10; "0"; "") & $index)]
    Set Variable [$r; Value:MBS( "WordFile.RemoveTableRow"; $WordFile; "Bst_Bemerkung_" & If($index < 10; "0"; "") & $index)]
    Set Variable [$index; Value:$index + 1]
    Exit Loop If [$index > 20]
End Loop

See also


WordFile.Release   -   WordFile.ReplaceTag

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos