samonwalkabout
Registered User.
- Local time
- Today, 22:45
- Joined
- Mar 14, 2003
- Messages
- 185
unfortantly its more complicated than that, the chemical use is determined by a production schedule. So if i make a product, it uses x amount of chemical 1, x amount of 2, and x amount of 3 ect ect ect.
So a Change to the schedule will effect a change in the adjustment figure for many chemicals.
The adjustment figure will be updated into the stock table and then your qry will run, using these new adjustment figures.
But i would have to run it one time for each chemical effected.
bad news theres over 300 chemicals and 10 products.
Most products use around 50-80 chemicals.
Thats a lot of button pressing for an update.
I need it to run for chemical 1, stop run for 2, stop etc etc. Until it get to the end.
I dont mind coding the entrie thing if its the only way, but i guess its not.
what if there was a table that had a record that said 1, the VB looked at this and ran for chemical one, the last part of the vb updated this figure to 2 and ran it again, this time i would be looking for 2 ect ect. Would that be quicker or slower in the long run?
So a Change to the schedule will effect a change in the adjustment figure for many chemicals.
The adjustment figure will be updated into the stock table and then your qry will run, using these new adjustment figures.
But i would have to run it one time for each chemical effected.
bad news theres over 300 chemicals and 10 products.
Most products use around 50-80 chemicals.
Thats a lot of button pressing for an update.
I need it to run for chemical 1, stop run for 2, stop etc etc. Until it get to the end.
I dont mind coding the entrie thing if its the only way, but i guess its not.
what if there was a table that had a record that said 1, the VB looked at this and ran for chemical one, the last part of the vb updated this figure to 2 and ran it again, this time i would be looking for 2 ect ect. Would that be quicker or slower in the long run?