DynaPDF.Table.GetFirstRow
-------------------------

Queries first row drawn.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [3.5](newinversion35.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.Table.GetFirstRow"; Table ) 

**MBS**( **"DynaPDF.Table.GetFirstRow";** /\* Queries first row drawn. \*/  
**$Table**) /\* The identifier for the table. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Table | The identifier for the table. | $Table |

### Result

Returns row number or error.

### Description

Queries first row drawn.  
The function returns the index of the first row that was drawn in the previous DrawTable() call. [DynaPDF.Table.GetNextRow](DynaPDFTableGetNextRow.md) returns the next row index that will be drawn in the next [DynaPDF.Table.Draw](DynaPDFTableDraw.md) call. If the next row index equals the number of rows then the table was fully drawn.  
### See also

- [DynaPDF.Table.Draw](DynaPDFTableDraw.md)
- [DynaPDF.Table.GetNextRow](DynaPDFTableGetNextRow.md)
- [DynaPDF.Table.GetNumRows](DynaPDFTableGetNumRows.md)

### Example Databases

- [DynaPDF/Invoice/Invoice](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Invoice/Invoice.shtml#3ScriptAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 10th November 2025

  
[DynaPDF.Table.Draw](DynaPDFTableDraw.md) - [DynaPDF.Table.GetNextHeight](DynaPDFTableGetNextHeight.md)

[HTML Version](DynaPDFTableGetFirstRow.shtml)