andymartin3186
New member
- Local time
- Today, 04:25
- Joined
- Dec 10, 2024
- Messages
- 10
Hi Everyone
I have a job system which the main table stores information about a current job, in this it stores the serial number of that job item
The main form shows all the data about the current job including the customer and contact. I would like it to have an area where it displays any instances of the job being in previously (for warranty purposes) using the serial number of the current opened job to look up previous instances of this.
I've created a query using JobID, SerialNumber, DateBookedIn as the data I wish to display, however I have no idea what to put as the criteria, I'm assuming it is going to be something similar to Like [Forms]![Job Form]![Serial], if I run this it displays correctly but I want it to display everything but the current job. What would be the correct code for this?
Will I then need to create a subform inside the current form to display this?
I have a job system which the main table stores information about a current job, in this it stores the serial number of that job item
The main form shows all the data about the current job including the customer and contact. I would like it to have an area where it displays any instances of the job being in previously (for warranty purposes) using the serial number of the current opened job to look up previous instances of this.
I've created a query using JobID, SerialNumber, DateBookedIn as the data I wish to display, however I have no idea what to put as the criteria, I'm assuming it is going to be something similar to Like [Forms]![Job Form]![Serial], if I run this it displays correctly but I want it to display everything but the current job. What would be the correct code for this?
Will I then need to create a subform inside the current form to display this?