A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

subforms: using input from one subform to update the other subform



 
 
Thread Tools Display Modes
  #1  
Old April 4th, 2010, 11:54 PM posted to microsoft.public.access.gettingstarted
Angela
external usenet poster
 
Posts: 232
Default subforms: using input from one subform to update the other subform

Hello. I'm hoping that someone can help me.

I have 2 subforms on separate tabs. Based on a user's input on subform 1, I
would like a combo box on subform 2 to be enabled or disabled.

Does anyone have a solution? Please let me know. Thanks in advance.
  #2  
Old April 5th, 2010, 12:48 AM posted to microsoft.public.access.gettingstarted
Douglas J. Steele[_3_]
external usenet poster
 
Posts: 3,143
Default subforms: using input from one subform to update the other subform

Controls on subforms are always referred to via the parent form. See
http://www.mvps.org/access/forms/frm0031.htm at "The Access Web" for
details.

Note that depending on how the forms were added as subforms, the name of the
subform control may be different than the name of the form being used as a
subform. It's the name of the subform control you need to use.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"Angela" wrote in message
...
Hello. I'm hoping that someone can help me.

I have 2 subforms on separate tabs. Based on a user's input on subform 1,
I
would like a combo box on subform 2 to be enabled or disabled.

Does anyone have a solution? Please let me know. Thanks in advance.


  #3  
Old April 5th, 2010, 09:07 PM posted to microsoft.public.access.gettingstarted
Angela
external usenet poster
 
Posts: 232
Default subforms: using input from one subform to update the other sub

Thanks for the link Doug. I tried them but get referential errors in the
form's on current event for codes. I don't know what the problem is because
the same code works in the AfterUpdate event.

"Douglas J. Steele" wrote:

Controls on subforms are always referred to via the parent form. See
http://www.mvps.org/access/forms/frm0031.htm at "The Access Web" for
details.

Note that depending on how the forms were added as subforms, the name of the
subform control may be different than the name of the form being used as a
subform. It's the name of the subform control you need to use.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"Angela" wrote in message
...
Hello. I'm hoping that someone can help me.

I have 2 subforms on separate tabs. Based on a user's input on subform 1,
I
would like a combo box on subform 2 to be enabled or disabled.

Does anyone have a solution? Please let me know. Thanks in advance.


.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:24 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.