Variable in Forms! Statement

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I replace the “Image1†field name portion of the following statement
with a variable?

Forms!frmPhoto_AttachView!Image1.Picture

Thanks in advance,

Jim
 
Jim said:
How do I replace the “Image1” field name portion of the following statement
with a variable?

Forms!frmPhoto_AttachView!Image1.Picture


strvar = “Image1”
Forms!frmPhoto_AttachView(strvar).Picture
 
Back
Top