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.
Version: Available or changed with runtime version 1.0.
Gets the current company name.
Syntax
Name := Database.CompanyName()
Note
This method can be invoked using property access syntax.
Note
This method can be invoked without specifying the data type name.
Return Value
Name
Type: Text
The name of the company, or an empty string if no company has been selected.
Example
var
CompName: Text[1024];
Text000: Label 'The name is %1.';
begin
CompName := CompanyName();
Message(Text000, CompName);
end;
Related information
Database Data Type
Get Started with AL
Developing Extensions