S
Sally Green
Strange request and it must be quite simple but I don't know how to do it.
I need to run a procedure, either update query or code, that will run
through every record (either from within a form or directly to the table)
that will pick up the current record number and place that value into a field.
IE the primary key value might be 20240 but due to archived data it might be
record number 1167. I need to store the 1167 in a field for use in another
program.
I know that the record number is dependant on the sort order and is liable
to change, but I can re-run the query or code.
Could someone please give me some help. Thanks.
I need to run a procedure, either update query or code, that will run
through every record (either from within a form or directly to the table)
that will pick up the current record number and place that value into a field.
IE the primary key value might be 20240 but due to archived data it might be
record number 1167. I need to store the 1167 in a field for use in another
program.
I know that the record number is dependant on the sort order and is liable
to change, but I can re-run the query or code.
Could someone please give me some help. Thanks.