Solved

Hash sign in me.filter expresion

Posted on 2015-02-16
2
112 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 52

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

622 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