G
Guest
I want to display on an order form for each customer, a running total of
their spend and total days booked. The way I have tried to do it is to put a
text field on the form and in the control inserted the command
dsum=("cost_of_course",""orders","Customer_order_id=form.Customer_order_id")
where I thought the form.Customer_order_id would be the id displayed in the
box Customer_order_id on the form. It does not work! If I replace the
form.Customer_order_id with an actual value, it works for just that customer.
The display however is just numbers and loses the currrency formatting. Am
I approaching this the wrong way? Can anyone please suggest what I am doing
wrong, or an alternative method to sum the totals and get correct formatting?
their spend and total days booked. The way I have tried to do it is to put a
text field on the form and in the control inserted the command
dsum=("cost_of_course",""orders","Customer_order_id=form.Customer_order_id")
where I thought the form.Customer_order_id would be the id displayed in the
box Customer_order_id on the form. It does not work! If I replace the
form.Customer_order_id with an actual value, it works for just that customer.
The display however is just numbers and loses the currrency formatting. Am
I approaching this the wrong way? Can anyone please suggest what I am doing
wrong, or an alternative method to sum the totals and get correct formatting?