Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

WordFile.RemoveTableRow

Removes a table row containing a placeholder.

Component Version macOS Windows Linux Server iOS SDK
WordFile 7.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "WordFile.RemoveTableRow"; WordFile; Placeholder )   More

Parameters

Parameter Description Example
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

Release notes

Example Databases

Blog Entries

Created 20th December 2016, last changed 20th December 2016


WordFile.ReleaseAll - WordFile.ReplaceTag

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat