PDA

Click to See Complete Forum and Search --> : Status Bar


hlieu
Mar 14th, 2000, 11:38 PM
Hi everyone,

Is there a way using Visual Basic 6 to make the status bar show which record you are currently on, out of all records in the database. You know how in Access 97, Microsoft provides a Record Navigation bar that displays the current record number out of all record numbers

ie: 3 out of 268

I would really like to have this feature, any ideas??


Note: I am using Access table as database.

Thanks,

Lieu.

Clunietp
Mar 14th, 2000, 11:51 PM
Use the absoluteposition (current record) and recordcount (total records) of the data control to get your x of x count. You can use the statusbar contained in the Windows Common Controls to display this info on your form

hlieu
Mar 15th, 2000, 12:50 AM
It would be nice if can give me little bit sample codes. If you can't, I appreciated anyway.

Thanks for your help.