i'm newish to access development so this question should be simple (i hope)...
i have (amongst others) three tables:
[ul]
[li]salesReceipt(receiptNo,date,customer,paymentAmount);[/li]
[li]receiptItems(receiptNo,itemNo,prodNo,qty,itemTotal);[/li]
[li]inventory(prodNo,descrip,cost,stockQty,sellingPrice);[/li]
[/ul]
i want to know how i can make:
receiptItems.itemTotal = inventory.sellingPrice * receiptItems.qty
and how i can make:
salesReceipt.paymentAmount = the sum of receiptItems.itemTotal
i've tried using the default value when setting up the table, but i failed.
confused,
fax
i have (amongst others) three tables:
[ul]
[li]salesReceipt(receiptNo,date,customer,paymentAmount);[/li]
[li]receiptItems(receiptNo,itemNo,prodNo,qty,itemTotal);[/li]
[li]inventory(prodNo,descrip,cost,stockQty,sellingPrice);[/li]
[/ul]
i want to know how i can make:
receiptItems.itemTotal = inventory.sellingPrice * receiptItems.qty
and how i can make:
salesReceipt.paymentAmount = the sum of receiptItems.itemTotal
i've tried using the default value when setting up the table, but i failed.
confused,
fax