469,945 Members | 2,422 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,945 developers. It's quick & easy.

Control Reference

I have created two forms Selector and Circuit. Selector is an unbound
form where fields are populated and there is a command button which
opens Circuit and displays information based on the input fields of
Selector. I am using an SQL statement in Circuit which contains the
following reference to Selector

Forms!Selector.A_Equip

What I have setup works wonderfully.

My problem is I now want to make Selector a subform on frmMain which
has a tab control, when I place it there the reference no longer works.
How can I fix this.

Nov 13 '05 #1
1 1232
Brian wrote:
I have created two forms Selector and Circuit. Selector is an unbound
form where fields are populated and there is a command button which
opens Circuit and displays information based on the input fields of
Selector. I am using an SQL statement in Circuit which contains the
following reference to Selector

Forms!Selector.A_Equip

What I have setup works wonderfully.

My problem is I now want to make Selector a subform on frmMain which
has a tab control, when I place it there the reference no longer works.
How can I fix this.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Try:

Forms!frmMain!Selector.A_Equip

or, if that doesn't work

Forms!frmMain!Selector.Form.A_Equip

Is A_Equip a control or a subroutine? If a control, Microsoft
recommends preceeding it w/ an exclamation point (!) instead of a period
(.).
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQxNOMYechKqOuFEgEQJ7jwCfafkQ+DK67EXs+ud2SV9gjp CGfMIAnAx/
f2V2jr3I36aBWiRLol8XWC/q
=9Fkm
-----END PGP SIGNATURE-----
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by martin | last post: by
7 posts views Thread by Chuck Hartman | last post: by
3 posts views Thread by Fred Chateau | last post: by
5 posts views Thread by =?Utf-8?B?U2FsYW1FbGlhcw==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.