ACC2: How to Get "X of Y" from Record Navigation Buttons (128883)
The information in this article applies to:
This article was previously published under Q128883
Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
This article demonstrates how to create and use a sample user-defined
Access Basic function called GetXofY(). You can use this function to
retrieve the record position number (X) and the total number of records (Y)
that are displayed in the navigation buttons at the bottom of a form.
This article assumes that you are familiar with Access Basic and with
creating Microsoft Access applications using the programming tools provided
with Microsoft Access. For more information about Access Basic, please
refer to the "Building Applications" manual.
NOTE: This technique uses the undocumented recordset property
AbsolutePosition which is subject to change in future versions of
Microsoft Access. Use of this function is not supported by Microsoft.
Modification Type: | Major | Last Reviewed: | 7/5/2002 |
---|
Keywords: | kbusage KB128883 |
---|
|