Greetings!

I have a form which contains a subform. The subform contains records for each upcoming year and brief details about jobs in those years. Each record has a button that I wish to link to a Detailed Description (frmDetailedJobDesciption) form. I'd like to have the button open the form to the corresponding job (based on a jobID) or, if no details record has yet been created, generate a new record and open the form to that blank record.

I know how to do each of those things seperately, but I'm not sure how to combine them. I'm currently using this top open to a specific record:

Code:
DoCmd.OpenForm frmDetailedJobDescription, , , "[jobID]=" & Me![jobID]
And this to open to a new record:

Code:
DoCmd.OpenForm frmDetailedJobDescription, , , acFormAdd
Any help is most appreciated