PreviousActiveX Controls Guide (9.1 revision 1) Next

Stat

Show this topic in Library frames

Applies to:

VAccess

Description

Forces a refresh of the status buffer from the current table.

Syntax

object.Stat

The Stat method syntax has these parts:

Part
Description
object
Required. The name of a valid VAccess control.

Return Value

Stat returns a two-byte integer that holds the status of the VAccess control. If this is zero, the operation completed successfully.

Remarks

Stat will force an update of the status buffer, which will update the file parameters such as PageSize, TotalKeys, PercentFreeSpace, PreallocatedPages, ReservedDupPointers, ACSName, CollatingSequence, FileVersion, and the file flags. Stat will also update the index information from the status buffer if DdfKeyUseIndexDDFOnly if set to False. A Stat call is not needed prior to getting the TotalRecords property; TotalRecords performs a Stat call when requested.


Chapter contents
Publication contents

Prev topic: ShowSelectedRecordsDlg
Next topic: StatusDialog