L
Londa Sue
Hello,
I've a list box for which I've multiple filters. I'd like to add another
criterion for one of the filters. Here is the 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 '*PL*'))
ORDER BY tbl_main.DocumentID"
Along with '*PL*', I'd like to add '*CMP*' so that it gives me both PL and
CMP records. I tried:
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 '*PL*' AND
'*CMP*')) ORDER BY tbl_main.DocumentID"
but this didn't work.
May I get an edit on this, please?
Thank you,
I've a list box for which I've multiple filters. I'd like to add another
criterion for one of the filters. Here is the 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 '*PL*'))
ORDER BY tbl_main.DocumentID"
Along with '*PL*', I'd like to add '*CMP*' so that it gives me both PL and
CMP records. I tried:
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 '*PL*' AND
'*CMP*')) ORDER BY tbl_main.DocumentID"
but this didn't work.
May I get an edit on this, please?
Thank you,