Access 2003 Flexible Control

K

katz

Hello!
In code on a Recordset I can refer to a field like rs.Fields(VariableName)
How can I refer to the Current Forms controls like me.ControlName to make it
flexible?
Thanks in advance
Abe
 
L

Larry Linson

katz said:
In code on a Recordset I can refer to a field like rs.Fields(VariableName)

How can I refer to the Current Forms controls like
me.ControlName to make it flexible?

If you could clarify what you mean, then probably someone might be able to
offer some suggestions. I, at least, do not understand what you mean by "to
make it more flexible." I'd ask "more flexible than _what_?"

If you want the "equivalent" of rs.Fields(VariableName), it might be
Me.Controls(VariableName), but I'm not sure that is what you mean, or want.

Larry Linson
Microsoft Access MVP
 
Top