B
BOBJ
Hello,
I'm trying to use a de-referenced variable to access a field name. For
example, if I have several fields named sequentially F1, F2, F3, F4, etc...
and I want to programmatically construct the field name to reference these
fields with a variable for the numeric part of the field name in a recordset,
how would I accomplish this?
Looking for something like:
NewVar = Recset!F
Where "Recset" is a recordset to the table, and i is a loop variable that
counts from 1 to some higher value. I seem to remember that there is some
way to construct field names dynamically like this. Any help would be
appreciated.
Thanks, -BOBJ
I'm trying to use a de-referenced variable to access a field name. For
example, if I have several fields named sequentially F1, F2, F3, F4, etc...
and I want to programmatically construct the field name to reference these
fields with a variable for the numeric part of the field name in a recordset,
how would I accomplish this?
Looking for something like:
NewVar = Recset!F
Where "Recset" is a recordset to the table, and i is a loop variable that
counts from 1 to some higher value. I seem to remember that there is some
way to construct field names dynamically like this. Any help would be
appreciated.
Thanks, -BOBJ