O ohappyday Registered User. Local time Today, 10:43 Joined Aug 6, 2009 Messages 20 Dec 2, 2009 #1 Hi - I have 2 subforms (sub 1 and sub 2). I would like to link a field that is populated on sub 2 and have the value appear in a read only field on sub 1). How can I do this? Thanks!
Hi - I have 2 subforms (sub 1 and sub 2). I would like to link a field that is populated on sub 2 and have the value appear in a read only field on sub 1). How can I do this? Thanks!
John Big Booty AWF VIP Local time Tomorrow, 05:43 Joined Aug 29, 2005 Messages 8,243 Dec 2, 2009 #2 This link should help you formulate the correct syntax for referencing subforms and their controls.
S smig Registered User. Local time Today, 20:43 Joined Nov 25, 2009 Messages 2,209 Dec 3, 2009 #3 rowsource for the field on form 1: Forms![TopForm]![SubForm2].Form![FiledName] for the Sub2 Field's after update event: Forms![TopForm]![SubForm1].Form![FiledName].refresh
rowsource for the field on form 1: Forms![TopForm]![SubForm2].Form![FiledName] for the Sub2 Field's after update event: Forms![TopForm]![SubForm1].Form![FiledName].refresh
O ohappyday Registered User. Local time Today, 10:43 Joined Aug 6, 2009 Messages 20 Dec 3, 2009 #4 Thanks for your help. I keep getting #Name? in the field on Subform 1. I am using 2007, is rowsource actually control source in 2007?
Thanks for your help. I keep getting #Name? in the field on Subform 1. I am using 2007, is rowsource actually control source in 2007?
John Big Booty AWF VIP Local time Tomorrow, 05:43 Joined Aug 29, 2005 Messages 8,243 Dec 3, 2009 #5 ohappyday said: Thanks for your help. I keep getting #Name? in the field on Subform 1. ........ Click to expand... The #Name? error indicates that Access is unable to resolve the reference you have given that control. ie. it is unable to find the control you are referring to. ohappyday said: ...... I am using 2007, is rowsource actually control source in 2007? Click to expand... Correct it should be Control Source.
ohappyday said: Thanks for your help. I keep getting #Name? in the field on Subform 1. ........ Click to expand... The #Name? error indicates that Access is unable to resolve the reference you have given that control. ie. it is unable to find the control you are referring to. ohappyday said: ...... I am using 2007, is rowsource actually control source in 2007? Click to expand... Correct it should be Control Source.
O ohappyday Registered User. Local time Today, 10:43 Joined Aug 6, 2009 Messages 20 Dec 17, 2009 #6 Thanks!! I tried the solution this week and it worked!! Thanks so much!!!!!
John Big Booty AWF VIP Local time Tomorrow, 05:43 Joined Aug 29, 2005 Messages 8,243 Dec 17, 2009 #7 Glad to hear you got it sorted