Hi!
I'm building a simple DB for tracking little products or items, that employees get from our company, for example an iPod for the director and a cell phone for his secretary
I've already built almost everything, with the help of tek-tips of course, but now I got some new instructions... They want to be able to do at least one more thing - to cancel a part of an event called purchase (this employee got this and this at a this price at this day etc.)
If I disable the quantity field in my form, so that it is only possible to make a purchase for 1 item at a time, everything of course works - I just put a checkmark field in my form and when the checkmark is turned on, the whole purchase is treated as cancelled in my reports.
However, they need to be able to enter quantity, too. I have no idea of how to make a purchase for let's say 5 items at a time, but only cancel one of them after some time.
At the moment, my tables look like this:
tblEmployee (Employee_ID, Name, Surname, Telephone, Mail)
tblPurchase (Purchase_ID, Date, Year, Employee_ID, Bill_No)
tblPurchaseProduct (Purchase_ID, Product_ID, Quantity)
tblProduct (Product_ID, Name, Price)
Thanks for any advice!
I'm building a simple DB for tracking little products or items, that employees get from our company, for example an iPod for the director and a cell phone for his secretary
I've already built almost everything, with the help of tek-tips of course, but now I got some new instructions... They want to be able to do at least one more thing - to cancel a part of an event called purchase (this employee got this and this at a this price at this day etc.)
If I disable the quantity field in my form, so that it is only possible to make a purchase for 1 item at a time, everything of course works - I just put a checkmark field in my form and when the checkmark is turned on, the whole purchase is treated as cancelled in my reports.
However, they need to be able to enter quantity, too. I have no idea of how to make a purchase for let's say 5 items at a time, but only cancel one of them after some time.
At the moment, my tables look like this:
tblEmployee (Employee_ID, Name, Surname, Telephone, Mail)
tblPurchase (Purchase_ID, Date, Year, Employee_ID, Bill_No)
tblPurchaseProduct (Purchase_ID, Product_ID, Quantity)
tblProduct (Product_ID, Name, Price)
Thanks for any advice!