The form displays a Sales order, with the Sale Order items and the Payments received on dedicated tabs as subforms.
The Sales Order form has a calculated control showing the total of payments received. The formula is
The form when opened presents correctly, even if no payments have yet been received ($0 payments) - there are no payment records. (The Payments tab remains hidden until the Order is changed from Quote to Sale)
If a new sales order is created, it initially shows $0 for Total Payments. If I move to the Order Items tab (after selecting the purchaser - a required item) and then move to the Order Items tab to add items the #size! error appears in the text box.
The order can be closed and reopened - Total Payments shows $0 until I move to the Order items tab (no payments made)
If I add an item to the order #Size! remains. If I now close and reopen the Order, then #Size! no longer is displayed on any action.
BTW the calculated control for the total price for all items (on the Sales Order form) does not show this behaviour. It uses a reference like that for total paid: =[frmsubOrderItems].[Form]![SumAftDiscount]
Can't figure out how to fix the display.
Any assistance appreciated.
The Sales Order form has a calculated control showing the total of payments received. The formula is
Code:
=Val(Nz([frmsubPmt].[Form]![txtTotalPd],0))
The form when opened presents correctly, even if no payments have yet been received ($0 payments) - there are no payment records. (The Payments tab remains hidden until the Order is changed from Quote to Sale)
If a new sales order is created, it initially shows $0 for Total Payments. If I move to the Order Items tab (after selecting the purchaser - a required item) and then move to the Order Items tab to add items the #size! error appears in the text box.
The order can be closed and reopened - Total Payments shows $0 until I move to the Order items tab (no payments made)
If I add an item to the order #Size! remains. If I now close and reopen the Order, then #Size! no longer is displayed on any action.
BTW the calculated control for the total price for all items (on the Sales Order form) does not show this behaviour. It uses a reference like that for total paid: =[frmsubOrderItems].[Form]![SumAftDiscount]
Can't figure out how to fix the display.
Any assistance appreciated.