I have 2 tables,one a called allshoprecords which have these fields(Id(autonumber),productname(text),quantity(n umber)),other table is called invoice which have these fields (IdInvoice(autonumber),productname(text),quantity( number)).I create a form in table called invoice and i put a print button.And i need to know which is the code when i click in print button to do this action (allshoprecords.quantity-invoice.quantity).Please help Meee!