Book Reserve / Check out buttons (1 Viewer)

Cubsm22p

Registered User.
Local time
Today, 01:26
Joined
Feb 14, 2018
Messages
37
Here I am working on a practice database doing a Library management System. I have an attached database (working on making test data for the tables will upload when finished). I am trying to figure out a way I can do the book checkout and book reserve buttons.


some thoughts i had on how to do it:
I have put a [ID] Label above the REserve Button, so when that reserve button is clicked this Sudo code should happen:
IF
Me.[ID] == (to any ID in the MEMBER table)
Then
(copy [ISBN] and [ID])
DoCmd.OpenForm "Reserve",acNormal, ,"[ISBN]" = (the copy) ,"[ID]"= (the copy)

Basically taking two Fields from the the current form and copying them to the next form
 

Attachments

  • LMS1.11.accdb
    1 MB · Views: 46

Cubsm22p

Registered User.
Local time
Today, 01:26
Joined
Feb 14, 2018
Messages
37
Also if a Member associated with that ID has over 6 books checked out then he cant check out anymore books so there would be a pop up message saying no more books, and only one book can be reserved at a time
 

Users who are viewing this thread

Top Bottom