Ok I'm back.....partly your own fault for being too helpful previously. I'll try to explain this as best I can but feel free to ask for clarification.
Background:
I have JOBS which can be numerous per day.
JOBS table holds: JobNo, JobDate, CCode (Customer Code), JobDetails, JobPrice (lots more but this the gist of it).
I request an Order No from Customer before invoicing, and need to be able to select Jobs. The customer will send an Order No and a list of which Jobs it refers to (they may pick different jobs than I would, and I can only include the Jobs they say on my Invoice... one Invoice per Order No given.
I need to be able to tick certain jobs (I've added a Y/N field to the Jobs table to simply allow me to tick the ones I want). Once I tick the ones I want, I print a list of these for Customer, calling my report 'Order No Request'.
The customer then sends my list back, with an Order No for me to use.....but may drop some of my selections off.....this is ok, I can just untick them before proceeding.
I have a form to create Jobs, but this is just used to add jobs for ANY Customer as I get them.....
I thought I could now have a new form entitled 'Attach Jobs to Order' where I can enter a Customer Code, bringing up all of their current jobs ( which haven't been invoiced)...I can do this by using a Query as my Data Source for the form.
What I'm struggling with:
I can create the form ok, asking the user on open to choose the Customer, then running a query to bring the form up with only Open Jobs for the chosen Customer.....
I can then tick/untick the Y/N field (Attach to Order) as I need to.
Once I've settled which Jobs are to be attached.....is there an easy way to UPDATE all selected records, attaching the given Order No?
I don't want to have to type it into each record individually.
Next Step:
My INVOICES table will be using a Form with a Subform to bring up the Jobs so I can create an Invoice with multiple Jobs.
Problem here is, how do I create an Invoice in the Main Form, so that once I choose which Customer it refers to (I'd hoped a CCode Combo box), then make the Jobs Subform only display records relating to the CCode I choose?
I could just ask the user to Enter the CCode before entering the form, then select my form/subform records that way.....but it would be more time consuming for user...who may have numerous invoices for numerous customers each day.
1 Invoice will have 1 Order No and Multiple Jobs.
I hope I have explained myself ok here.....but any queries....feel free to ask.
Apologies for such a lengthy explanation and thanks for reading.
Background:
I have JOBS which can be numerous per day.
JOBS table holds: JobNo, JobDate, CCode (Customer Code), JobDetails, JobPrice (lots more but this the gist of it).
I request an Order No from Customer before invoicing, and need to be able to select Jobs. The customer will send an Order No and a list of which Jobs it refers to (they may pick different jobs than I would, and I can only include the Jobs they say on my Invoice... one Invoice per Order No given.
I need to be able to tick certain jobs (I've added a Y/N field to the Jobs table to simply allow me to tick the ones I want). Once I tick the ones I want, I print a list of these for Customer, calling my report 'Order No Request'.
The customer then sends my list back, with an Order No for me to use.....but may drop some of my selections off.....this is ok, I can just untick them before proceeding.
I have a form to create Jobs, but this is just used to add jobs for ANY Customer as I get them.....
I thought I could now have a new form entitled 'Attach Jobs to Order' where I can enter a Customer Code, bringing up all of their current jobs ( which haven't been invoiced)...I can do this by using a Query as my Data Source for the form.
What I'm struggling with:
I can create the form ok, asking the user on open to choose the Customer, then running a query to bring the form up with only Open Jobs for the chosen Customer.....
I can then tick/untick the Y/N field (Attach to Order) as I need to.
Once I've settled which Jobs are to be attached.....is there an easy way to UPDATE all selected records, attaching the given Order No?
I don't want to have to type it into each record individually.
Next Step:
My INVOICES table will be using a Form with a Subform to bring up the Jobs so I can create an Invoice with multiple Jobs.
Problem here is, how do I create an Invoice in the Main Form, so that once I choose which Customer it refers to (I'd hoped a CCode Combo box), then make the Jobs Subform only display records relating to the CCode I choose?
I could just ask the user to Enter the CCode before entering the form, then select my form/subform records that way.....but it would be more time consuming for user...who may have numerous invoices for numerous customers each day.
1 Invoice will have 1 Order No and Multiple Jobs.
I hope I have explained myself ok here.....but any queries....feel free to ask.
Apologies for such a lengthy explanation and thanks for reading.