I have a textbox in report 'rtpTutorSummary', whose value is based, in some part, on the value of a textbox ('countofcandidatecode') in its subform 'rptSubGroupCompleted'. I need to get the value of this textbox but im not sure how to reference it:
txtStatus.Value = [Reports]![rptSubGroupCompleted]![CountOfCandidateCode].Value
doesnt work, report not open
txtStatus.Value = [Reports]![rptTutorSummary]![rptSubGroupCompleted]![CountOfCandidateCode].Value
doesnt work, report not open
The subform is called chdGroupCompleted:
txtStatus.Value = Me.chdGroupCompleted!CountOfCandidateCode.value
Doesnt work either.
I must be able to reference the info, surely. Anybody help me out with the syntax?
Cheers