P
postman
This is a problem I've been wrestling with for a while now, & it comes up again:
Its where I can make calculations in unbound text boxes on a form work, but if they are
bound to a table then I loose the calculations in the record source to the table field,
eg:
I'm building a cash register form with these text boxes:
SUB-TOTAL
GST
DISCNT (is a combo box with 'value list row source: .1;.15;.20;.25;.50)
TOTAL
TENDERED
CHANGE.
If I have these form text boxes 'unbound' then its simple to make it work with the
following calculations in the corresponding control Source of the text boxes:
SUB-TOTAL (1st data input)
GST=[Total]*0.1
DISCNT=**NOT SURE ABOUT THIS ONE YET-NEED TO CALCULATE, & RECORD PERCENTAGE & CALCULATED
AMOUNT from Total box**
TOTAL=[SubTotal]-[Discnt]
TENDERED (2nd data input)
CHANGE=[Tendered]-[Total]
Tabbing through the boxes after data inputs makes the calcs work.
But If the control sources are bound to a table (tbl_CReg), I then loose the calculations!
Where do the calculations go if controls are bound?
Thanks in advance.
Its where I can make calculations in unbound text boxes on a form work, but if they are
bound to a table then I loose the calculations in the record source to the table field,
eg:
I'm building a cash register form with these text boxes:
SUB-TOTAL
GST
DISCNT (is a combo box with 'value list row source: .1;.15;.20;.25;.50)
TOTAL
TENDERED
CHANGE.
If I have these form text boxes 'unbound' then its simple to make it work with the
following calculations in the corresponding control Source of the text boxes:
SUB-TOTAL (1st data input)
GST=[Total]*0.1
DISCNT=**NOT SURE ABOUT THIS ONE YET-NEED TO CALCULATE, & RECORD PERCENTAGE & CALCULATED
AMOUNT from Total box**
TOTAL=[SubTotal]-[Discnt]
TENDERED (2nd data input)
CHANGE=[Tendered]-[Total]
Tabbing through the boxes after data inputs makes the calcs work.
But If the control sources are bound to a table (tbl_CReg), I then loose the calculations!
Where do the calculations go if controls are bound?
Thanks in advance.