K
KitCaz
Allen Browne's tip on creating multiple instances of a form
(http://allenbrowne.com/ser-35.html) was the best resource I found on the
subject!
I have one other question if someone can direct me where to find it--
Now that I've instanced the forms and added them to my clnClient collection,
I'm a bit unclear how I can self-refer to this instance in a rowsource query
statement for a field on the form. E.g. I have a field on my form which is
referenced in the query statement of another field by using the syntax
[Forms]![MyForm]![MyField]. Of course this qualifier is now ambiguous. How
can I adjust this syntax such that the statement applies to the current
instance instead? Something akin to [Me]![MyField] or [Parent]![MyField] but
these don't work. Maybe I need to be using my custom collection but I'm not
sure of the sytnax to get the current window handle into it, e.g.
[clnClient].(hwnd)![MyForm]![MyField] (also not working).
Anyone' best advice here?
Chris
(http://allenbrowne.com/ser-35.html) was the best resource I found on the
subject!
I have one other question if someone can direct me where to find it--
Now that I've instanced the forms and added them to my clnClient collection,
I'm a bit unclear how I can self-refer to this instance in a rowsource query
statement for a field on the form. E.g. I have a field on my form which is
referenced in the query statement of another field by using the syntax
[Forms]![MyForm]![MyField]. Of course this qualifier is now ambiguous. How
can I adjust this syntax such that the statement applies to the current
instance instead? Something akin to [Me]![MyField] or [Parent]![MyField] but
these don't work. Maybe I need to be using my custom collection but I'm not
sure of the sytnax to get the current window handle into it, e.g.
[clnClient].(hwnd)![MyForm]![MyField] (also not working).
Anyone' best advice here?
Chris