Показать сообщение отдельно
Старый 02.09.2005, 15:26   #2  
Eugeny_F is offline
Eugeny_F
Участник
 
371 / 30 (2) +++
Регистрация: 18.11.2003
Адрес: Москва
Не уверен, что правильно понял вопрос, но приведу на всякий случай выдержку из навиженской справочной системы:

COMPANYNAME (Database)
Use this function to return the current company name.

Name := COMPANYNAME
Name

Data type: text constant or code

The name of the company, or an empty string if no company has been selected.

Example
This example shows how to use the COMPANYNAME function to retrieve the name of the current company.

Name := COMPANYNAME;
MESSAGE(Text000, Name);

Create the following text constant in the C/AL Globals window:

Text Constant
ENU Value

Text000
'The name is: %1'