MSI.RecordSetStream

boolean MSI.RecordSetStream ( 

number  hRecord,

number  Field,

string  FilePath,

boolean ResetStream = true )

Description

Calls the MsiRecordSetStream function that sets a record stream field from a file.

Tip: If this action fails, you can retrieve specific MSI error details using MSI.GetLastErrorRecord

Parameters

hRecord

(number) The handle to the record.

Field

(number) The field of the record to set.

FilePath

(string) The path to the file containing the stream.

ResetStream

(boolean) Whether to reset the stream to its beginning.

Returns

(boolean)  Returns true if the stream was reset, false if it is not reset. You can use Application.GetLastError to determine whether this action failed, and why. You can also retrieve extended error information using the MSI.GetLastErrorRecord action.

See also:  Related Actions