InsertDocument

Description

Inserts a rich text format or plain text file into a DataWindow control or DataStore object.

Syntax

PowerBuilder DataWindow control or DataStore object

integer dwcontrol.InsertDocument ( string filename, boolean clearflag {, FileType filetype } )

Returns

Returns 1 if it succeeds and -1 if an error occurs. If any argument’s value is NULL, InsertDocument returns NULL.