Re: Comma in query expression
- From: "injanib via AccessMonster.com" <u35551@uwe>
- Date: Mon, 10 Sep 2007 17:25:21 GMT
Thanks to both of you. I actually came across a problem where I used the Name
word as feild name in another data base and learned that it is a reserved
word after encountering errors. I should have known better when using it
again in this databse.
fredg wrote:
You need to include text delimiters in the DCount statement if you are going[quoted text clipped - 9 lines]
to use a text string.
OR
DCount("*","Main","[Name]= " & Chr(34) & Me.Recipient & Chr(34) )
In addition to what John has written, Name is a reserved
Access/VBA/Jet word and should not be used as a
field name.
For additional reserved words, see the Microsoft KnowledgeBase article
for your version of Access:
109312 'Reserved Words in Microsoft Access' for Access 97
209187 'ACC2000: Reserved Words in Microsoft Access'
286335 'ACC2002: Reserved Words in Microsoft Access'
321266 'ACC2002: Microsoft Jet 4.0 Reserved Words'
For an even more complete list of reserved words, see:
http://www.allenbrowne.com/AppIssueBadWord.html
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-queries/200709/1
.
- References:
- Comma in query expression
- From: injanib via AccessMonster.com
- Comma in query expression
- Prev by Date: RE: August is a problem
- Next by Date: Re: query to split data in a column into two separate columns
- Previous by thread: Comma in query expression
- Next by thread: Re: Bug with SELECT TOP when ordering
- Index(es):
Relevant Pages
|