Parameters

  • Thread starter Thread starter Luis
  • Start date Start date
L

Luis

Hello.
I have a function that performs an action that i'd like to
use on several tables. The only thing diferent is the name
of the table and the field to work on.
I use a recordset to do this action.
I was thinking of having a Sub or Function that calls the
function i've mentioned with two parameters, the table
name and the field to work on.
On the table name theres was no problem, but i have a
problem on the field name. I don't seem to be able to use
the parameter on the recorset.
Is it possible to pass field names as parameters? If so
how can i pass them and use them on a recordset?

Thanks.
 
Back
Top