L
Londa Sue
Hello,
I have a list box that I would like to have "filtered" using various command
buttons. The list box by default shows all records. When the command button
for "Checklists" is clicked, I'd like the list box to display only checklist
records. Below is some information on what I have done thus far.
Listbox name = DocList
Checklist button code:
DocList.RowSource = "SELECT tbl_main.ID, tbl_main.DocumentID,
tbl_main.DocumentTitle, tbl_main.ReleaseDate, tbl_main.Version,
tbl_main.Valid FROM tbl_main Where (((tbl_main.DocumentID) LIKE 'CHK'))ORDER
BY tbl_main.DocumentID"
I decided to reuse the statement from another database, changing the
parameters/fields as needed. I do not, however, get the results I'm looking
for. When the button is clicked, the list box does not return any records at
all. It is blank/empty of records.
Any help is appreciated.
Londa Sue
I have a list box that I would like to have "filtered" using various command
buttons. The list box by default shows all records. When the command button
for "Checklists" is clicked, I'd like the list box to display only checklist
records. Below is some information on what I have done thus far.
Listbox name = DocList
Checklist button code:
DocList.RowSource = "SELECT tbl_main.ID, tbl_main.DocumentID,
tbl_main.DocumentTitle, tbl_main.ReleaseDate, tbl_main.Version,
tbl_main.Valid FROM tbl_main Where (((tbl_main.DocumentID) LIKE 'CHK'))ORDER
BY tbl_main.DocumentID"
I decided to reuse the statement from another database, changing the
parameters/fields as needed. I do not, however, get the results I'm looking
for. When the button is clicked, the list box does not return any records at
all. It is blank/empty of records.
Any help is appreciated.
Londa Sue