Discussion Locked

Visual Basic 6.- record number

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have been trying to get record number
to my vb6 program. Somehow I can't do it
I try absolute position. and it does not work. Any idea how to get record number from
vb from acccess database???

3 replies

by mark.thomson

You can't - the record numbers in MSACCESS are part of the user interface, not part of the underlying database structure, see MSDN article Q209647 "Why Microsoft Access Does Not Use Record Numbers" for a more detailed explanation.

The AbsolutePosition property of a particular record in a recordset will change if the ordering of the records changes (this can happen if records are added / removed or re-ordered)

by homeflash

thanks for the info, i looked that up already and I found a way to put the record number in...

This discussion is closed to new replies.