R
Ronald J. Notarius
Hi,
For reasons to lengthy to go into here, I have to use a legacy dBase .dbf
table for some mailing purposes involving a 3rd party package. In order for
everything to work right, I have to fill a field with a string equivalent to
the record number.
Because of the nature of this 3rd party package, modifying the table field
is not possible. I have to use the structure as-is, so I can't use the
autonumber function.
I need to create a simple function, equivalent to the old dBase RECNO()
function, that will return the current record's record number. I know I can
do this using the CurrentRecord property, but being new to VBA, I'm having
some trouble setting up and configuring the function.
Any assistance in writing or implementing this function would be greatly
appreciated! Thanks!
For reasons to lengthy to go into here, I have to use a legacy dBase .dbf
table for some mailing purposes involving a 3rd party package. In order for
everything to work right, I have to fill a field with a string equivalent to
the record number.
Because of the nature of this 3rd party package, modifying the table field
is not possible. I have to use the structure as-is, so I can't use the
autonumber function.
I need to create a simple function, equivalent to the old dBase RECNO()
function, that will return the current record's record number. I know I can
do this using the CurrentRecord property, but being new to VBA, I'm having
some trouble setting up and configuring the function.
Any assistance in writing or implementing this function would be greatly
appreciated! Thanks!