O
Omar319
Hiya,
I'm making a database with the tables tblItem, tblBorrower, tblPostcode (this
is done through normalisation 3NF) and tblLoan. In tblItem I have a list of
items with a unique ID number, for example I have 20 books each with an ID
bk01, bk02, bk03 etc. I've made a query (qryOnHandStock) to calculate how
many items are left in stock after they've been loaned. I've also made this
an append query to update the records in a table called tblOnHandStock (made
using a make-table query) (this table isn't related to any other tables and I
cannot make ItemID in this table a primary key to make the relationship).
I'm fine up to this point but I want to be able to delete the items from
tblItem using the data from tblOnHandStock using a delete query so that the
item cannot be selected from the form once it's been loaned out.
I'd also like to do the reverse - have a returns form so that when an item is
returned it is taken off the loan table (tblLoan) and put back into the item
table (tblItem).
Can anyone tell me how this is done?
Thanks,
Omar
I'm making a database with the tables tblItem, tblBorrower, tblPostcode (this
is done through normalisation 3NF) and tblLoan. In tblItem I have a list of
items with a unique ID number, for example I have 20 books each with an ID
bk01, bk02, bk03 etc. I've made a query (qryOnHandStock) to calculate how
many items are left in stock after they've been loaned. I've also made this
an append query to update the records in a table called tblOnHandStock (made
using a make-table query) (this table isn't related to any other tables and I
cannot make ItemID in this table a primary key to make the relationship).
I'm fine up to this point but I want to be able to delete the items from
tblItem using the data from tblOnHandStock using a delete query so that the
item cannot be selected from the form once it's been loaned out.
I'd also like to do the reverse - have a returns form so that when an item is
returned it is taken off the loan table (tblLoan) and put back into the item
table (tblItem).
Can anyone tell me how this is done?
Thanks,
Omar