Solved

Hash sign in me.filter expresion

Posted on 2015-02-16
2
110 Views
Last Modified: 2016-02-10
Microsoft Access 2013

Hi.

Following code fails because of the  # character (hash sign).
Me.Filter = "[Template Name] like '*template #2*'"
Me.FilterOn = True

Open in new window


How do I deal with this?
0
Comment
Question by:peispud
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 40611966
Hi,

have you tried

Me.Filter = "[Template Name] like '*template [#]2*'"

https://msdn.microsoft.com/en-us/library/office/gg251796(v=office.15).aspx

Regards
0
 

Author Comment

by:peispud
ID: 40611978
Me.Filter = "[Template Name] like '*template [#]2*'"
Me.FilterOn = True

Thanks.

Found the solution there.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question