boblarson
Smeghead
- Local time
- Today, 12:40
- Joined
- Jan 12, 2001
- Messages
- 32,059
Okay, please explain the purpose of this form. It looks like you have a few things still yet to get fixed before we even worry about this totals thing.
1. Why is the order number combo box an unbound combo? Is it supposed to locate the order in the form? If so, there is no code to do so.
2. The Customer ID text box isn't going to do anything for you as it is bound to an expression.
3. The table that the main form is bound to, is that supposed to have already had orders created from another form? If so, then your combo box to select the order number needs to have code to move to the right record.
4. The subforms have their DATA ENTRY property set to YES, which isn't good in this case because you can't see anything already allocated to this order if you happen to navigate somewhere else.
5. The two subforms have different names for their subform controls and so you need to refer to the names of the subform controls (controls on the subform which house the subform on the main form) in your code or expression, rather than the name of the subforms themselves.
1. Why is the order number combo box an unbound combo? Is it supposed to locate the order in the form? If so, there is no code to do so.
2. The Customer ID text box isn't going to do anything for you as it is bound to an expression.
3. The table that the main form is bound to, is that supposed to have already had orders created from another form? If so, then your combo box to select the order number needs to have code to move to the right record.
4. The subforms have their DATA ENTRY property set to YES, which isn't good in this case because you can't see anything already allocated to this order if you happen to navigate somewhere else.
5. The two subforms have different names for their subform controls and so you need to refer to the names of the subform controls (controls on the subform which house the subform on the main form) in your code or expression, rather than the name of the subforms themselves.