scottappleford
Registered User.
- Local time
- Today, 01:35
- Joined
- Dec 10, 2002
- Messages
- 134
Hi
I have a main form and two sub forms for a stock control db.
The main form shows the product with controls for units on order and units on hand.
The first sub form handles stock transaction from a seperate purchase order form. This sub form has 'units ordered' and 'unit received' fields, which the relate back to the main form to calculate the units on order/on hand etc. So when a transaction is made on the purchase order the units on order will show say 100 until 100 is entered into the received field to update the units on hand etc.
Now the problem is that i have another sub form which basically is for stock going out once the order arrives in the store. I have a quantity out field but can not get the units on hand in the main form to sum the columns and calculate what is left when goods leave.
In the fisrst sub form (transactions) I have a units sold but it is hidden as it is needed. I could use this to sum the quantity out in the seconed stock control sub form but can not get it to do it.
The db has no data in it at present so i could post it?? but i really need someones help with this as the db is needed very shortly.
many thanks and i hope i explained myself properly.
I have a main form and two sub forms for a stock control db.
The main form shows the product with controls for units on order and units on hand.
The first sub form handles stock transaction from a seperate purchase order form. This sub form has 'units ordered' and 'unit received' fields, which the relate back to the main form to calculate the units on order/on hand etc. So when a transaction is made on the purchase order the units on order will show say 100 until 100 is entered into the received field to update the units on hand etc.
Now the problem is that i have another sub form which basically is for stock going out once the order arrives in the store. I have a quantity out field but can not get the units on hand in the main form to sum the columns and calculate what is left when goods leave.
In the fisrst sub form (transactions) I have a units sold but it is hidden as it is needed. I could use this to sum the quantity out in the seconed stock control sub form but can not get it to do it.
The db has no data in it at present so i could post it?? but i really need someones help with this as the db is needed very shortly.
many thanks and i hope i explained myself properly.