Re: Used a reserved word in a field name.....
- From: Charles Tyson <cmtNOSPAMzeebox@xxxxxxxxxxxxx>
- Date: Mon, 25 Feb 2008 14:29:01 -0800
Jon Purvis beat me to it--I don't get any error with your commandtext when using D2007 against either an Access 2002 or Access 2007 database. But if you need something else to try, this syntax is acceptable to JET:
SELECT * FROM containers WHERE [containers]![number] > 10
Ian Groves wrote:
I have a MS Access Database and use TADODataset.commandtext and use a JET connection to run.....
SELECT * FROM Containers WHERE Number > 10
Of course this fails as I have used the field name NUMBER, aside from restructing the table and my app how can i get around this?
- References:
- Used a reserved word in a field name.....
- From: Ian Groves
- Used a reserved word in a field name.....
- Prev by Date: Re: Used a reserved word in a field name.....
- Next by Date: Re: Used a reserved word in a field name.....
- Previous by thread: Re: Used a reserved word in a field name.....
- Next by thread: Re: Used a reserved word in a field name.....
- Index(es):
Relevant Pages
|