Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Registers a table connection between Dynamics NAV and an external database.
Syntax
REGISTERTABLECONNECTION(Type, Name, Connection)
Parameters
Type
Type: TableConnectionType
Specifies the type of table connection as defined in the TableType property.
Name
Type: Text
Specifies the name of the connection in your code, or the name of the primary key field on the table.
Connection
Type: Text
Specifies the connection to the external database, such as 'Data Source=ProdServer1;Initial Catalog=ProdDb1;User ID=sqladmin;Password=p@ssword'). Alternatively, define the connection in a separate function.
See Also
External Tables
TableConnectionType Data Type
UNREGISTERTABLECONNECTION Function (Database)