I have a listview on one of my forms for issuing items to people. It has 3 columns, one for item names, one for version last issued, and one for the date of last issue. There is also a tickbox next to each item. When the box is ticked, and a button pressed, each ticked item is logged as issued, and the fields re-populated with the most up-to-date data.
I have two questions regarding this control.
The first is a minor one. When the first column is clicked on a few times, it becomes possible to edit the contents of that box. How do I disable this behaviour?
The second is a bit more complex. The information I was given at the start of the project stated that one of each kind of item would be issued. That has since changed, and now multiple copies of an item can be sent out. I currently have no way of dealing with this. Is it possible to have another field in the listview where the user can type in a quantity of items sent? If so, then I can just reference the contents of that in an insert query. If it's not possible, then I need to re-write the whole methodology for issuing items.
I have two questions regarding this control.
The first is a minor one. When the first column is clicked on a few times, it becomes possible to edit the contents of that box. How do I disable this behaviour?
The second is a bit more complex. The information I was given at the start of the project stated that one of each kind of item would be issued. That has since changed, and now multiple copies of an item can be sent out. I currently have no way of dealing with this. Is it possible to have another field in the listview where the user can type in a quantity of items sent? If so, then I can just reference the contents of that in an insert query. If it's not possible, then I need to re-write the whole methodology for issuing items.