I'm entering data by using a query on a subform. I want to auto populate a job number to each new line I add to that subform.
tbl_Jobs
[Job_ID] <Primary Key
JID1001
JID1002
JID1003
tbl_Job_Tasks
[ID Auto][Job_ID][Task]
1 JID1002 TASK1
2 JID1002 TASK2
3 JID1002 TASK3
4 JID1001 TASK1
Here's my query at the most basic level...
SELECT tbl_Job_Tasks.[Job_ID], tbl_Job_Tasks.[Category], tbl_Job_Tasks.[Task]
FROM tbl_Job_Tasks
WHERE (([Job_ID]="JID1002"));
What I want to be able to do is hide the Job_ID column and have it auto populate for the user if they decide to enter a new task for their Job. Currently if I enter a new task I have to specify the Job_ID to use. This query is being used on a sub form that pulls its Job_ID from the parent form, so in a perfect world the end user would not have to re-enter the Job_ID.
Is this possible?
Thank you,