dragongunner0351
Programmer
Greetings all, I have a bit of a problem. Let me begin by describing the structure. I have 3 Tables
1. Products
a. Hold info on products, Available Units, Beginning Balance, List Price, Sale Price, etc...
2. Orders
a. User input for processing customer orders.
3. Order Details
a. Finer details of customer orders, what products ordered, cost, how many shipped, etc...
I have 2 forms (Products, and Orders) and one subform (Order Details) The subform is embedded in both the Products form and Orders form and each have a relationship to one another Orders -> Order Details via OrderID and Products -> Order Details via Product ID.
The subform has a combo control (products) that has a control source to the Products Table. When a Product is selected the Product Name, List Price, Sale Price and Available Units autofill.
My problem is I can't get the Availble units to update from order to order. I have a control in the Products form called "BeginningBalance"; this was my starting point for assigning a value to the product (Qty) Then I have another control "Available Units" in the Products form. I need the Available units control to update based off of an Order. I can get it to work great ONCE! and after fumbling around I got it work however in order for the "Available Units" to Update I would have to click somewhere in the "Order Details Subform" embedded in the "Products" form".
Any help would be greatly appreciated and my apologizes if I have givin too much info and confused anyone.
1. Products
a. Hold info on products, Available Units, Beginning Balance, List Price, Sale Price, etc...
2. Orders
a. User input for processing customer orders.
3. Order Details
a. Finer details of customer orders, what products ordered, cost, how many shipped, etc...
I have 2 forms (Products, and Orders) and one subform (Order Details) The subform is embedded in both the Products form and Orders form and each have a relationship to one another Orders -> Order Details via OrderID and Products -> Order Details via Product ID.
The subform has a combo control (products) that has a control source to the Products Table. When a Product is selected the Product Name, List Price, Sale Price and Available Units autofill.
My problem is I can't get the Availble units to update from order to order. I have a control in the Products form called "BeginningBalance"; this was my starting point for assigning a value to the product (Qty) Then I have another control "Available Units" in the Products form. I need the Available units control to update based off of an Order. I can get it to work great ONCE! and after fumbling around I got it work however in order for the "Available Units" to Update I would have to click somewhere in the "Order Details Subform" embedded in the "Products" form".
Any help would be greatly appreciated and my apologizes if I have givin too much info and confused anyone.