Faris
asked on
i need a special code for a Visual basic
first of all, i would like to thank the people who will involve in this question. my problem is i have designed a library system for dubai polytechnic by database and visual basic as a (GUI). when i designed it i faced this problem that in the reservation table and in the VB form it self that two borrower can reserve the same copy at the same time. and this is not correct so, i need a code to allow only one person can reserve a copy then the specific copy will be reserved for the person. on other hand, anyone who will reserve the specific copy, there are a specific msgbox telling the perosn who want's to reserve that "not allowed the requiered copy is already reserved"
please i need soulition for this problem because i will submit this project on sunday
Best Regards
Mohammed
please i need soulition for this problem because i will submit this project on sunday
Best Regards
Mohammed
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hearing...
Please, maintain your other questionS! See, now it's plural!!!
Why not place an extra field in you 'book copy' table (or whatever it's called) to say 'reserved'.
Just make it a boolean field. When someone reserves a copy of a book, mark this field as 'True'.
If someone tries to reserve a book, and the field is already set, say 'no'.
Just an idea...