PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → Display record number
Display record number
Started by RV, Jun., 24 2005 11:50 PM - 1 reply
Posted on June, 24 2005 - 11:50 PM
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?
Posted on June, 25 2005 - 7:20 AM
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