Loads a record from the database.

If the primary key is the same as the current object and the object has not been modified (ie. IsDirty is False) then the record will not be reloaded from the database unless ForceRefresh is True.

Syntax

finReportTemplate.LoadPk(pk, [forceRefresh])

Parameters

NameTypeOptionalByRefDescription
pk Integer The primary key of the record to load.
forceRefresh Boolean Optional Indicates that this record should always be loaded from the database. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finReportTemplate
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0