Help! I have the listview control in and working but
is bringing up error Method or data member not foundCode:LV1.Checkboxes = True
I have googled for a solution but can't find one - only others asking how to do it.
Please does anyone know how ?
Help! I have the listview control in and working but
is bringing up error Method or data member not foundCode:LV1.Checkboxes = True
I have googled for a solution but can't find one - only others asking how to do it.
Please does anyone know how ?
Exactly what do you want this line to accomplish? Are you trying to set all checkboxes to True? What event is this code in?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
There's a list of items and I want to flag some to be used when an "OK" button is clicked.
If a checkbox is impossible, perhaps I can use the row click event to build a list on the list index.
But checkboxes would be better.
The Listview Control is in a Form on it's own and Form Load populates it from a files search.
You want to selectively check some boxes based on some criteria?
I have done very limited testing with listview and that is one aspect I have not looked at. I can check/uncheck all which involves a looping structure. I suspect the same will be needed for your conditional check. What would be the criteria determining checked/unchecked?
Do you want to provide db for review?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Thanks June. You have managed to make checkboxes visible ? That sounds very promising.
Normally they're in the first column, and can be checked/unchecked by clicking on them, The Criteria is what rows the user wants to select.
I'll attach my Form, but it doesn't contain very much and criteria is not relevant so I 've just populated a few rows with text.
perhaps this link will help
https://www.access-programmers.co.uk.../#post-1902906
Okay, your form is not using a ListView control, it is just a Listbox.
Listbox and Combobox only show checkboxes when bound to a multi-value field.
Suggest you consider CJ's app.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Well, that's mighty embarrassing, I'd created the Form some time back and as I always use a listview, just assumed it was.
No wonder the listview instructions weren't working.
Now all is perfect, checkboxes galore. CJ's example was great, but the way listview allows column resize is a winner.
Thanks to you both.
You can adapt the example to use a datasheet in a subform if you wanted resizeable columns