Hello there,
I'm trying to create a library database in Access 2003 where the process of checking out books can also require a batch of books to be issued.
There are some limits to this project:
At the moment I have a form frmNewIssues set up so I can select the details of the patron and select the details of the book I want to issue ([Type], [Spine reference], [Title]) from combo boxes. The combo boxes fill in parts of a select query that the list box of all my books that I can issue is populated with since even if we have a title there are often multiple copies.
***
For your next trick; when the user double clicks a row in the presented books list box I'd like to somehow store that book ID (The Access id for the book which is a hidden bound column) and present it in any format to show the librarian which books they have selected for issue.
***
Eventually I will take the stored id's and run an append query where we join to book id's and customer data into an Issued table which contains which book was issued to whom.
Summary:
Require code for onDoubleClick a list box, to take the Bound column of [bookID] of the double clicked row and store it (In an array, temporary table or anything!) so that I can display the double clicked books in a list (In a separate list box or new form or something).
I'm trying to create a library database in Access 2003 where the process of checking out books can also require a batch of books to be issued.
There are some limits to this project:
- I can't download anything directly to the computer because of the network priveleges set up by the managers of our IT infrastructure. So primarily could you guys post code snippets please :)
- This project has to be built in the Office 2003 suite because the IT guys won't update until my company buys an upgrade.
At the moment I have a form frmNewIssues set up so I can select the details of the patron and select the details of the book I want to issue ([Type], [Spine reference], [Title]) from combo boxes. The combo boxes fill in parts of a select query that the list box of all my books that I can issue is populated with since even if we have a title there are often multiple copies.
***
For your next trick; when the user double clicks a row in the presented books list box I'd like to somehow store that book ID (The Access id for the book which is a hidden bound column) and present it in any format to show the librarian which books they have selected for issue.
***
Eventually I will take the stored id's and run an append query where we join to book id's and customer data into an Issued table which contains which book was issued to whom.
Summary:
Require code for onDoubleClick a list box, to take the Bound column of [bookID] of the double clicked row and store it (In an array, temporary table or anything!) so that I can display the double clicked books in a list (In a separate list box or new form or something).
Comment