themurph2000
Fat, drunk, and stupid
- Local time
- Today, 06:49
- Joined
- Sep 24, 2007
- Messages
- 181
OK, for once I have a complicated one.
I have a form containing work order descriptions that are used to generate production orders on a daily basis. Right now, a person would have to click on a button on a continuous form next to the proper work order and fill in information like the date, the shift, and the person in charge in a separate form. Since it has to be done individually for each work order each day, each shift, it takes hours to do them all. (this was created before I ever worked here) What I'm hoping to do is alter the form so that a person could click on a check box next to each of the work orders, click a single button at the bottom of the form, and Access would generate production orders for every single work order checked at the same time. (The date and production shift they're working would be in a text box on the form and passed through to the orders.)
I have the code for generating each record, but the design relies on doing them one-by-one. Can code be written to see if a check box is activated and then run the code for that work order if it is? And if possible, run enough times to create multiple production orders if the user indicates how many?
I wish I could post the database, but our company prohibits it.
Thanks!
I have a form containing work order descriptions that are used to generate production orders on a daily basis. Right now, a person would have to click on a button on a continuous form next to the proper work order and fill in information like the date, the shift, and the person in charge in a separate form. Since it has to be done individually for each work order each day, each shift, it takes hours to do them all. (this was created before I ever worked here) What I'm hoping to do is alter the form so that a person could click on a check box next to each of the work orders, click a single button at the bottom of the form, and Access would generate production orders for every single work order checked at the same time. (The date and production shift they're working would be in a text box on the form and passed through to the orders.)
I have the code for generating each record, but the design relies on doing them one-by-one. Can code be written to see if a check box is activated and then run the code for that work order if it is? And if possible, run enough times to create multiple production orders if the user indicates how many?
I wish I could post the database, but our company prohibits it.
Thanks!