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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

automatic fill



 
 
Thread Tools Display Modes
  #1  
Old April 8th, 2008, 02:29 PM posted to microsoft.public.access.forms
misschanda via AccessMonster.com
external usenet poster
 
Posts: 111
Default automatic fill

hello
on my form i have made an organized layout to comprise of four experiments (a-
d). the resin used for experiment A, is chosen using a cascading combo box
and automatically fillled in under txt field for experiment A resin.

my question is how to make the resin selection cascading box work for all
four different potential materials.(A-D).

as of now this is my code

Private Sub Combo0_AfterUpdate()
Me.Combo2.Requery
Me.Combo2 = Null


Me.Combo6.Requery
Me.Combo6 = Null
End Sub


Private Sub Combo2_AfterUpdate()
Me.Combo6.Requery
Me.Combo6 = Null
End Sub

Private Sub Combo6_AfterUpdate()

Forms![LABLINEEXTRUSION1]![ResinA] = Me.Combo6

End Sub


Thanks

--
Message posted via http://www.accessmonster.com

  #2  
Old April 8th, 2008, 02:53 PM posted to microsoft.public.access.forms
Golfinray
external usenet poster
 
Posts: 1,597
Default automatic fill

I would check Allen Browne at www.allenbrowne.com. I think he has some good
stuff on that on his site.

"misschanda via AccessMonster.com" wrote:

hello
on my form i have made an organized layout to comprise of four experiments (a-
d). the resin used for experiment A, is chosen using a cascading combo box
and automatically fillled in under txt field for experiment A resin.

my question is how to make the resin selection cascading box work for all
four different potential materials.(A-D).

as of now this is my code

Private Sub Combo0_AfterUpdate()
Me.Combo2.Requery
Me.Combo2 = Null


Me.Combo6.Requery
Me.Combo6 = Null
End Sub


Private Sub Combo2_AfterUpdate()
Me.Combo6.Requery
Me.Combo6 = Null
End Sub

Private Sub Combo6_AfterUpdate()

Forms![LABLINEEXTRUSION1]![ResinA] = Me.Combo6

End Sub


Thanks

--
Message posted via http://www.accessmonster.com


 




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 07:19 PM.


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