Template

Description

The name of a file that will be used to start the application in OLE.

Applies to

TableBlob controls

Syntax

PowerBuilder dot notation:

dw_control.Object.tblobname.Template

Describe and Modify argument:

"tblobname.Template { = ' string ' }"

Parameter

Description

tblobname

The name of a TableBlob control in the DataWindow.

string

(exp) A string whose value is the file name of an application that is to be the OLE template. String is quoted and can be a DataWindow expression.

Usage


In the painter

Select the control and set the value in the Properties view, Definition tab, File Template option.

Examples

Example 1

setting = dw1.Object.blob_1.Template

dw1.Object.blob_1.Template='Excel.xls'

Example 2

setting = dw1.Describe("blob_1.Template")

dw1.Modify("blob_1.Template='Excel.xls'")