Hello,
bare with me on this as I am still new to running recordset in VBA, which is where I suspect this will end up....
Quick Setup: I have a Work Order maintenance process where when a work van needs repairs we generate a work order and list all the issues wrong. Then I go to another form that pulls in just the issues for that work order into a listbox so we can assign a shop to handle them. Sometimes all the issues can be worked out at one shop others we need to send to multiple shops so one work order can have several ServiceID shops.
So from the lbx I select the first issue, and then data entry the shop I want, appointment time, shuttle information etc. Then I save, it updates the second column in my lbx as "Assigned" and I can select the next unassigned issue on that work order from the lbx and repeat.
Since most of the time we send to one shop I have put a chkbox to "Save Settings for all issues" on my form so that I do not have to type redundant info.
So my question is what is the best way to handle automating the same data onto a new ServiceID record for each reported issue from the lbx?
Keep in mind that once I select an issue from the lbx, it looks up if a shop is assigned, if so, it filters that form to that record so changes can be made, if no shop is assigned with the on_click of the lbx, then the form goes to a new record. I want to be able to cycle through the all the listbox lines and create a new service record with the data from the first round of input.
I hope I am explaining this well enough and sorry I cannot attach a copy of the DB, I work for a medical company that is pretty strict on that sort of thing.
Thanks for any tips on the direction I need to go.
bare with me on this as I am still new to running recordset in VBA, which is where I suspect this will end up....
Quick Setup: I have a Work Order maintenance process where when a work van needs repairs we generate a work order and list all the issues wrong. Then I go to another form that pulls in just the issues for that work order into a listbox so we can assign a shop to handle them. Sometimes all the issues can be worked out at one shop others we need to send to multiple shops so one work order can have several ServiceID shops.
So from the lbx I select the first issue, and then data entry the shop I want, appointment time, shuttle information etc. Then I save, it updates the second column in my lbx as "Assigned" and I can select the next unassigned issue on that work order from the lbx and repeat.
Since most of the time we send to one shop I have put a chkbox to "Save Settings for all issues" on my form so that I do not have to type redundant info.
So my question is what is the best way to handle automating the same data onto a new ServiceID record for each reported issue from the lbx?
Keep in mind that once I select an issue from the lbx, it looks up if a shop is assigned, if so, it filters that form to that record so changes can be made, if no shop is assigned with the on_click of the lbx, then the form goes to a new record. I want to be able to cycle through the all the listbox lines and create a new service record with the data from the first round of input.
I hope I am explaining this well enough and sorry I cannot attach a copy of the DB, I work for a medical company that is pretty strict on that sort of thing.
Thanks for any tips on the direction I need to go.