G
Guest
Hi there
I've created a form called tabular form called recosted jobs.
When the job_code field is clicked I want it to open another form called job
costing and find the corresponding record matching the job code
Here's what i have so far
Private Sub Job_Code_DblClick(Cancel As Integer)
DoCmd.OpenForm "Job Costing", acNormal, "", "", acEdit, acNormal
DoCmd.FindRecord recostedjobs.Job_Code.Value, acEntire, True, ,
True, , True
End Sub
Obviously this works to open the other form, but am having trouble the part
of what to find, ie recostedjobs.Job_Code.Value brings up an object not found
error. Any suggestions.
Thanks
Anthony.
I've created a form called tabular form called recosted jobs.
When the job_code field is clicked I want it to open another form called job
costing and find the corresponding record matching the job code
Here's what i have so far
Private Sub Job_Code_DblClick(Cancel As Integer)
DoCmd.OpenForm "Job Costing", acNormal, "", "", acEdit, acNormal
DoCmd.FindRecord recostedjobs.Job_Code.Value, acEntire, True, ,
True, , True
End Sub
Obviously this works to open the other form, but am having trouble the part
of what to find, ie recostedjobs.Job_Code.Value brings up an object not found
error. Any suggestions.
Thanks
Anthony.