Refer to fieldname using a variable

  • Thread starter Thread starter Alex Leonard
  • Start date Start date
A

Alex Leonard

Thanks guys!
There is so much VBA/DAO syntax I don't know...
Also puzzled that I could not find any equvalent of that
statement in any of the MS help files and docs.

The explicit statement works:
rst(fld)="test"

So far have not been able to make the (fld) syntax work
inside a "With rst" statement though.
 
Inside the With statement, you'll have to be even more explicit.

..Fields(fld) = "test"
 
Back
Top