enum.descr$()

Syntax
string enum.descr$(string domain code(12), enum_expr [, string language_code ] )

Description
This returns the description associated with a specific value in an enumerated domain. 

Arguments
code:The name of the domain. The domain must be of type enumerated.
enum_expr:One of the possible values of the enumerated domain.
language_code:To retrieve the description in a language other than the user language, specify the relevant language code in this argument. This is an optional argument. The default language is the language of the user.Note that the language code of the user is available in the predefined, read-only variable language$.

Return values
The description of the specified enumerate value, either in the current user language or in another specified language.The function returns an empty string, and displays an error message, if an unknown domain is specified or if no description exists in the data dictionary for the specified language.

Related Post:

People who read this post also read :



1 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More