Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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)