|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Counter label
In my database program, I would like to have a label named lblcount to show which record of the database it is. For example, Record 6 of 2100.
Can someone please help me with some basic source code for starters? I am drawing a blank. Thank you in advance. |
|
#2
|
|||
|
|||
|
do you have a recordset open with all the records in it? what are you using to access the database?
Code:
lblCount.Caption = "Record " & CStr(rs.AbsolutePosition) & " of " & _
CStr(rs.RecordCount)
__________________
Programmer's Corner |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Counter label |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|