Hi Gy
One of the advantages of creating your own table model is that it can store data in formats other than vectors. So you could store the record number as part of the table.
Or, if you are using an MVC design, you could store the record number in the Model, leaving your table with it's abstract table model.
Alternatively, you could do a lookup in the database for the record that you are about to modify - this should return the record number.
I am not suggesting any one of these methods - they all have good points (and at least one I really dislike
). But this should give you something to think about.
Regards, Andrew