Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Objects and Properties > RECORDCOUNT
|
|
Purpose
|
.RecordCount allows you to specify the number of records in a Paging File to the GUI Client, in order to set the size of the scroll bar thumb.
|
Syntax
|
ObjectReference.RecordCount = Value
|
Operation
|
ObjectReference is the Tag Name of the Paging Cycle object
Value is a numeric variable with a value of 0 or greater
|
Remarks
|
The value of this property can only be set, not retrieved.
This property is ignored if .AutoCount is set.
If the value is greater than zero, this value will be passed to the GUI Client and used to calculate the size of the scroll bar thumb on a Paging Cycle if .Scroll is set to Standard (else the property is ignored).
If the count is inaccurate, the scroll bar tooltip will display incorrect information and the size of the thumb will be incorrect; otherwise there are no negative effects. As the GUI Client learns more about the number of records in the Paging File, the inaccuracy will be corrected.
This property can be set as a default in the development environment or in any logic executed before the Paging Cycle is entered.
The default value is zero.
|
Example
|
To declare the number of records in the Paging File in Paging Cycle whose Tag Name is OrderScreen before the screen has been displayed:
OrderScreen.RecordCount = #NumRecs
|
Comment on this topic
Topic ID: 510081