>Also is there an easy way to display what record you are on out of how many? The problem I have is reccount() does not consider deleted records and gives an inaccurate total count. Also it would be nice if the current record is numbered by it position in the current order.
There is a way to solve both of these issues in one pass ... USE VIEWS.
When you access data by views ... a new event basic recno is generated for all records at the time the view fires. This will give you recno() in order AND reccount() will show a count of only the records actually loaded into the view.
If set deleteted is also on then no deleted records will even be registed as existing for the view.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement