Filter Problem

B

Ben

I created a filter, but can't get it to filter with a condition.

I have the following code:
With Me
.Filter = "[Status] = 'Open' AND [Group_Name] = 'Builds'"
.FilterOn = True

I want to change 'Builds' to MDE*. Grab everything that is that has MDE
plus wildcard.
 
M

Marshall Barton

Ben said:
I created a filter, but can't get it to filter with a condition.

I have the following code:
With Me
.Filter = "[Status] = 'Open' AND [Group_Name] = 'Builds'"
.FilterOn = True

I want to change 'Builds' to MDE*. Grab everything that is that has MDE
plus wildcard.


Do you want to use a filter that looks for MDE*
.Filter = "[Status] = 'Open' AND [Group_Name] = 'MDE*'"

or do you want to look for MDE followed by anything
.Filter = "[Status] = 'Open' AND [Group_Name] LIKE 'MDE*'"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top