chrisjames25
Registered User.
- Local time
- Today, 14:40
- Joined
- Dec 1, 2014
- Messages
- 404
Hi. I have a main form with the name Frm_PottingInput. WIthin that form is a subform called Frm_Sub_Potting. The source object of that form is called Frm_BatchInputSubform.
I have a option button on the frm_pottinginput form that when i click i want to change the recordsource of Frm_BatchInputSubform.
THe code i am currently using is :
This is not yeilding the result i want. I have also tried
But neither do what i want and change the record source.
ANy ideas would be greatly appreciated. I get so confused with sub forms and the source objects within subforms.
I have a option button on the frm_pottinginput form that when i click i want to change the recordsource of Frm_BatchInputSubform.
THe code i am currently using is :
Code:
Forms!Frm_PottingInput!Frm_batchinputsubform.Form.RecordSource = "Qry_PottingDataPrintedTrue"
This is not yeilding the result i want. I have also tried
Code:
Forms!Frm_PottingInput!Frm_Frm_sub_potting.Form.RecordSource = "Qry_PottingDataPrintedTrue"
But neither do what i want and change the record source.
ANy ideas would be greatly appreciated. I get so confused with sub forms and the source objects within subforms.