Skip to content

GenerateStateHashRecordId - cWebView

Generates a record ID that is used in a view state hash

Type: Function
Return Data Type: String

Parameters

Parameter Type Description
iFile Integer Table number for which the record id should be generated
rRowId RowID RowId of the record for which the record id should be generated

Syntax

Function GenerateStateHashRecordId Integer iFile RowID rRowId Returns String

Call Example

Get GenerateStateHashRecordId iFile rRowId to StringVariable

Description

Generates a record ID that is used in a view state hash. This state hash is used in the generation of URLs. This function is called each time a view state hash with a record ID is generated.

Note that in the drill-down model, iFile does not always have to point to the main file, as it is determined based on the navigation data of the next view in the view stack.