A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Special Characters in Access 2007



 
 
Thread Tools Display Modes
  #1  
Old April 21st, 2010, 07:37 PM posted to microsoft.public.access.queries
RC
external usenet poster
 
Posts: 99
Default Special Characters in Access 2007

I'm working on a database that has fields filled in with sizes (i.e. 1.5",
2", 3", etc.)
I know the " shouldn't have been used but it was.
When writing a query to show only 1" items I get the message "The expression
you entered has an invalid string." I usually can get past this by putting
the " in brackets (like this ["]) and I could go on, but now that I am using
access 2007 (was on 2003) I get this message; "The expression you entered
contains invalid syntax." I've tried to manually add the outside quotes but
that doesn't seem to work. When I look up the second message it gives the
special character fix, using brackets.
Any help is appreciated.

Thanks
RC

  #2  
Old April 21st, 2010, 07:58 PM posted to microsoft.public.access.queries
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Special Characters in Access 2007

Try this as criteria --
'1"'
That is single quote, number, double quote, and end with single quote.

--
Build a little, test a little.


"RC" wrote:

I'm working on a database that has fields filled in with sizes (i.e. 1.5",
2", 3", etc.)
I know the " shouldn't have been used but it was.
When writing a query to show only 1" items I get the message "The expression
you entered has an invalid string." I usually can get past this by putting
the " in brackets (like this ["]) and I could go on, but now that I am using
access 2007 (was on 2003) I get this message; "The expression you entered
contains invalid syntax." I've tried to manually add the outside quotes but
that doesn't seem to work. When I look up the second message it gives the
special character fix, using brackets.
Any help is appreciated.

Thanks
RC

  #3  
Old April 21st, 2010, 08:22 PM posted to microsoft.public.access.queries
RC
external usenet poster
 
Posts: 99
Default Special Characters in Access 2007

Worked like a charm. Thank you!

"KARL DEWEY" wrote:

Try this as criteria --
'1"'
That is single quote, number, double quote, and end with single quote.

--
Build a little, test a little.


"RC" wrote:

I'm working on a database that has fields filled in with sizes (i.e. 1.5",
2", 3", etc.)
I know the " shouldn't have been used but it was.
When writing a query to show only 1" items I get the message "The expression
you entered has an invalid string." I usually can get past this by putting
the " in brackets (like this ["]) and I could go on, but now that I am using
access 2007 (was on 2003) I get this message; "The expression you entered
contains invalid syntax." I've tried to manually add the outside quotes but
that doesn't seem to work. When I look up the second message it gives the
special character fix, using brackets.
Any help is appreciated.

Thanks
RC

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.