G
Guest
Hello all,
I have function that finds the next record in a table. I use this function
to auto-generate the next record number (in a non-Autonumber field) in
several tables - although I have to have a separate function for each table.
The function uses the
dbs.OpenRecordSet ("tblTable1") code.
I would like to re-use this function by sending the Table Name as a variable
to the function - avoiding duplicity of the code. How do I do this?
Thanks in Advance
Anand
I have function that finds the next record in a table. I use this function
to auto-generate the next record number (in a non-Autonumber field) in
several tables - although I have to have a separate function for each table.
The function uses the
dbs.OpenRecordSet ("tblTable1") code.
I would like to re-use this function by sending the Table Name as a variable
to the function - avoiding duplicity of the code. How do I do this?
Thanks in Advance
Anand