I have got a form and depending on what form triggered it to open I want it to take on that primary key.
In the default value of a control on the form that is opened at the moment I have got:
=[Forms]![frmJobs]![JobNo]
I need the same to happen but from a different form, so instead of recreating the same form I was wondering if it was possible to do something like this:
Default value:
=[Forms]![frmJobs]![JobNo] or =[Forms]![frmJobsSearch]![JobNo]
I know that the above code will not work, and I guess I will get the question; What if both forms are loaded at the same time? (they will not be).
Any suggestions guys?
In the default value of a control on the form that is opened at the moment I have got:
=[Forms]![frmJobs]![JobNo]
I need the same to happen but from a different form, so instead of recreating the same form I was wondering if it was possible to do something like this:
Default value:
=[Forms]![frmJobs]![JobNo] or =[Forms]![frmJobsSearch]![JobNo]
I know that the above code will not work, and I guess I will get the question; What if both forms are loaded at the same time? (they will not be).
Any suggestions guys?