How to refer to a form instance

  • Thread starter Thread starter David via AccessMonster.com
  • Start date Start date
D

David via AccessMonster.com

I'm sure this is simple, but I can't find it anywhere...

How do I refer to an instance of a form using its key value?

For example, I have a collection 'colForms' and two forms in that
collection with the keys 'Key1' and 'Key2'. How do I refer to the instance
that has Key1 in code (for exampe, to close or requery the Key1 instance of
the form from another form)?

Thanks in advance,
David
/dminstance
 
David via AccessMonster.com said:
I'm sure this is simple, but I can't find it anywhere...

How do I refer to an instance of a form using its key value?

For example, I have a collection 'colForms' and two forms in that
collection with the keys 'Key1' and 'Key2'. How do I refer to the instance
that has Key1 in code (for exampe, to close or requery the Key1 instance of
the form from another form)?

Thanks in advance,
David
/dminstance

Maybe:

colForms.Item("Key1")

Or am I missing something here?
 
Back
Top