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

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 the DataWindow server evaluates the expression instead of displaying it.

Usage


In the painter

Select the control and set the value in the Properties window, Definition category.

Examples

Example 1

[Visual Basic]
cname = dw1.Describe("emppict_blob.ClientName")

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

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