Summary:
Need to tie a field value (sjobID) in a subform to a field value (jobID) in a main form in Access 2007
Parent Form: "Form1"
Parent Form field: "jobID"
Sub Form: "sfrm_Container"
Sub Form field: "sjobID"
Previously used "=[Forms]![Form1]![jobID]" in the sjobID in Access 2003
Question
I have a main form called "Form1" and a subform called "sfrm_Container" which holds 2 nested subforms. The form (Form1) and subform (sfrm_Container) are linked by jobID and sjobID.
I need the field called "sjobID" in "sfrm_Container" and have the value be equal to the "jobID" in "Form1". In Access 2003, I was able to do this using this formula: =[Forms]![Form1]![jobID]. However, this no longer works in 2007.
Any suggestions? Does this need to be done through the code builder now in the main form's onCurrent? Any help would be much appreciated.
sjobID - is the name of the field that is being pointed to.