ClientName

Description

The name of the OLE client. The default is “Untitled.” ClientName is used by some applications in the server window’s title.

Applies to

OLE Object and TableBlob controls

Syntax

PowerBuilder dot notation:

dw_control.Object.controlname.ClientName

Describe and Modify argument:

"controlname.ClientName { = ’ clientname  ' }"

Parameter

Description

controlname

The name of a blob column or an OLE Object control.

clientname

(exp) A string expression to be used in the title of the server application’s window. For a blob, the string usually includes data from the current row so that the window title can identify the blob’s row.

Begin the string with a tab (~t) when you modify the value so that PowerBuilder evaluates the expression instead of displaying it.

Usage


In the painter

Select the control and set the value in the Properties view, Options tab.

Examples

Example 1

cname = dw1.Object.emppict_blob.ClientName

dw1.Object.emppict_blob.ClientName = &

		"~t'Data for ' String(emp_id)"

Example 2

cname = dw1.Describe("emppict_blob.ClientName")

dw1.Modify("emppict_blob.ClientName='" + &

	"~t~"Data for ~" + String(emp_id)'")