DataControl.TableName

From Xojo Documentation

Property (As String )
aDataControl.TableName = newStringValue
or
StringValue = aDataControl.TableName

Supported for all project types and targets.

The name of the table in Database whose records will be displayed by the controls linked to the DataControl.

Example

The following example sets the Movies table as the default table.

Me.Database = database
Me.TableName = "Movies"