TrekMietta
Registered User.
- Local time
- Today, 11:52
- Joined
- Sep 17, 2009
- Messages
- 26
Software: Access 2007
I have a table with these fields:
orderno, sku, item, qty, price, sub
whenever i insert an item it creates a new record: i.e.
SKU ITEM QTY PRICE SUB
RECORD1: PK999 Pink Dress 2 9.99 19.98
RECORD2: PK998 Black Dress 1 4.99 4.99
On the form i also have an unbound text box, how do i get this box to show the total from all of the SUB fields e.g. 24.97, i have already got the sub field to automatically total the qty and price fields using "=[price]*[qty]".
If i enter "=[sub]" it only shows me the total for the selected record, i need it to total all of the records on screen, please note that only records with the same orderno are displayed.
Regards and thank you in advance for any help offered
I have a table with these fields:
orderno, sku, item, qty, price, sub
whenever i insert an item it creates a new record: i.e.
SKU ITEM QTY PRICE SUB
RECORD1: PK999 Pink Dress 2 9.99 19.98
RECORD2: PK998 Black Dress 1 4.99 4.99
On the form i also have an unbound text box, how do i get this box to show the total from all of the SUB fields e.g. 24.97, i have already got the sub field to automatically total the qty and price fields using "=[price]*[qty]".
If i enter "=[sub]" it only shows me the total for the selected record, i need it to total all of the records on screen, please note that only records with the same orderno are displayed.
Regards and thank you in advance for any help offered