Opening Forms

  • Thread starter Thread starter Ian
  • Start date Start date
I

Ian

Hi,

I have a problem. I need to open a form, edit some
properities and save, close it in code. I successfully
open the form using "docmd.openform <frmNameAsString>"
however I need the object in order to execute the
following command "form_frmName.form.property = true".
Sure I could hardcode the form names but I want to make
this a generic function. Any ideas???
 
you are a LEGEND!! it works, ta muchly
-----Original Message-----
Hi,
You can refer to an open form like this:
Forms(frmNameAsString)

--
HTH
Dan Artuso, Access MVP





.
 
Back
Top