Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

find in access table when string contains "["

Posted on 2014-10-01
7
Medium Priority
?
176 Views
Last Modified: 2014-10-01
I am having trouble finding then filtering on:

sDesc
[Prof
Auto[Pro
Auto[Prof
Prof
Pro
Professional

where the string contains the "[" or "]" it wont search properly

it says the pattern string is invalid. there is no error code with this given


how do i overcome this?
0
Comment
Question by:PeterBaileyUk
[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
  • 4
  • 3
7 Comments
 
LVL 52

Expert Comment

by:Rgonzo1971
ID: 40354229
Hi,

please try

Like "*[[]*"

Regards
0
 

Author Comment

by:PeterBaileyUk
ID: 40354243
can i do that in the cntl f find box for testing?
0
 
LVL 52

Accepted Solution

by:
Rgonzo1971 earned 2000 total points
ID: 40354256
I don't think so

SELECT Table1.Field
FROM Table1
WHERE Table1.Field Like "*[[]*";
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Author Comment

by:PeterBaileyUk
ID: 40354449
can it flip the other way around for
sDesc
Med]
Med
0
 

Author Comment

by:PeterBaileyUk
ID: 40354458
what is the significance of the two closed brackets together? []
0
 
LVL 52

Expert Comment

by:Rgonzo1971
ID: 40354480
it is the opening bracket between an opening and a closing bracket

Siehe  link

Matches any single character within the brackets.

https://support.office.com/en-US/Article/Access-wildcard-character-reference-af00c501-7972-40ee-8889-e18abaad12d1?ui=en-US&rs=en-US&ad=US

for closing bracket use

SELECT Table1.Field
FROM Table1
WHERE Table1.Field Like "*]*";
0
 

Author Closing Comment

by:PeterBaileyUk
ID: 40354665
brilliant thx
0

Featured Post

Independent Software Vendors: 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.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

722 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