External: Boolean;
The External property returns whether the table is external.
If the property returns True, the table is external, otherwise it is regular.
The AttachTable method is used to create external tables.
Executing the example requires that the repository contains a table with the Table_1 identifier.
Sub UserProc;
Var
MB: IMetabase;
Table: ITable;
s: String;
Begin
MB:=MetabaseClass.Active;
Table:=MB.ItemById("Table_1").Bind As ITable;
If Table.External Then
s:="Yes";
Else
s:="No";
End If;
End Sub UserProc;
After executing the example, the "s" variable contains Yes if the table has an indicator of external table.
See also: