PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Display record number
Display record number
Iniciado por RV, 24,jun. 2005 23:50 - 1 respuesta
Publicado el 24,junio 2005 - 23:50
How does one display the record number for each detail record that is displayed? The form was developed using the form wizard (simple link) with some modifications and enhancements. I want to display the record number for each record in the detail section. Is this possible without browsing the table programmatically?
Publicado el 25,junio 2005 - 07:20
G'day RV
You could make a control = to hrecnum(filename) which should display the current record number, but it is not a good policy to use the record number for anything as they alter when a file is indexed with compression and also deleted records are re-used. You can always use an auto-id field to give you a unique number for reference purposes - see current thread about "Auto-ids and RAD"
Regards
Al