hi,
i have two forms CHS_Customer and 'CHS_Job'
both have a common field, "Company_Na me"
i want to open the form 'CHS_Job' from the form 'CHS_Customer ' and when i open, the Company_Name field value in 'CHS_Customer' but be assigned to Company_name field in 'CHS_Job'
i have written some code for the button "Enter Job" in the Form 'CHS_Customer '
Private Sub EnterJobLabel_C lick()
DoCmd.DoMenuIte m acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.OpenForm "CHS_Job"
DoCmd.GoToRecor d , , acNewRec
[Form_CHS_Job].Company_Name.V alue = Company_Name.Va lue
End Sub
the above code gives run time error 2465: Access cant find the field ' I ' referred to in the application.
I have checked the fields and there is nothing wrong.
what would be the problem??
need your assiatance
thanks n regards,
Kathy
i have two forms CHS_Customer and 'CHS_Job'
both have a common field, "Company_Na me"
i want to open the form 'CHS_Job' from the form 'CHS_Customer ' and when i open, the Company_Name field value in 'CHS_Customer' but be assigned to Company_name field in 'CHS_Job'
i have written some code for the button "Enter Job" in the Form 'CHS_Customer '
Private Sub EnterJobLabel_C lick()
DoCmd.DoMenuIte m acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.OpenForm "CHS_Job"
DoCmd.GoToRecor d , , acNewRec
[Form_CHS_Job].Company_Name.V alue = Company_Name.Va lue
End Sub
the above code gives run time error 2465: Access cant find the field ' I ' referred to in the application.
I have checked the fields and there is nothing wrong.
what would be the problem??
need your assiatance
thanks n regards,
Kathy
Comment