OhBother30
Technical User
I am working on a database that is similar to a Library book check out. It involves files from my office that can be checked out by various employees. They want to keep track when a file is checked out and returned. They also want to keep a history of the activity for each file.
I am having a little trouble with the design. I want to limit the checkout form to only files that are not already checked out and similar with check in form. I wondered if I should separate the records of the files that had been returned in a different table from the files that are still checked out. I thought this might eliminate some of my problems. I'm not sure how to write the code that would move the record from one table to another when the checkin date was entered.
I am importing a customer file from our AS400 for the main data. One problem is that we may or may not have a file received for that customer. I am using a DateRec in my Customer table to identify that the file was ever received in inventory. So, that is another condition for my Checkout form (eg. can't check it out if we never had it).
I have another table of the individual checkout records keyed by the customerID. This table contains the name of the person checking out the file and other dates and info. I'm having trouble dealing with the multiple records for each CustID in this table as far as populating my form for checkin. I'm using a checkout ID so I though I could somehow find the MAX ID for each cust where the CheckInDate was blank.
OK.... I am afraid none of this is making sense. If anyone has any suggestions I would be thrilled to hear them. Also, if you know anywhere I can view a sample of a similar database... that would be great too.
Thanks a bunch.
Andrea
I am having a little trouble with the design. I want to limit the checkout form to only files that are not already checked out and similar with check in form. I wondered if I should separate the records of the files that had been returned in a different table from the files that are still checked out. I thought this might eliminate some of my problems. I'm not sure how to write the code that would move the record from one table to another when the checkin date was entered.
I am importing a customer file from our AS400 for the main data. One problem is that we may or may not have a file received for that customer. I am using a DateRec in my Customer table to identify that the file was ever received in inventory. So, that is another condition for my Checkout form (eg. can't check it out if we never had it).
I have another table of the individual checkout records keyed by the customerID. This table contains the name of the person checking out the file and other dates and info. I'm having trouble dealing with the multiple records for each CustID in this table as far as populating my form for checkin. I'm using a checkout ID so I though I could somehow find the MAX ID for each cust where the CheckInDate was blank.
OK.... I am afraid none of this is making sense. If anyone has any suggestions I would be thrilled to hear them. Also, if you know anywhere I can view a sample of a similar database... that would be great too.
Thanks a bunch.
Andrea