Results 1 to 2 of 2

Thread: Showing position of current record and recordcount in the data control

  1. #1

    Thread Starter
    New Member
    Join Date
    May 1999
    Location
    Wytheville, VA USA
    Posts
    7

    Post

    Working on a form for an Access database and I would like the data control to read "Record # ___ of ___" to reflect the current record position and the number of records in the table. Not sure how to do this. Any suggestion???

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    I assume that you have a Lable named Lable1 on your form to show this and Data control named Data1.

    Code:
    Lable1.Caption = "Record # " & Data1.AbsolutePosition & " of " & Data1.RecordCount
    Regards,

    ------------------

    Serge

    Software Developer
    [email protected]
    [email protected]



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width