GetCompanyName
PowerScript function
Description
Returns the company name for the current execution context.
Applies to
ContextInformation objects
Syntax
1 |
servicereference.GetCompanyName ( name ) |
Argument |
Description |
---|---|
servicereference |
Reference to the ContextInformation service |
name |
String into which the function places the company |
Return value
Integer.
Returns 1 if the function succeeds and -1 if an error occurs.
Usage
Call this function to determine the company name (such
as Appeon).
Examples
This example calls the GetCompanyName function:
1 2 3 4 5 6 7 8 9 |
String ls_company Integer li_return ContextInformation ci ci = create ContextInformation //or GetContextService("ContextInformation", ci) li_return = ci.GetCompanyName(ls_company) IF li_return = 1 THEN sle_co_name.text = ls_company END IF |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest