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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top