Strange "unspecified error" in D7/Access query
- From: "Glenn Alcott" <galcott@xxxxxxxxxxxxxx>
- Date: Wed, 18 Oct 2006 11:12:33 -0400
I have a D7 app with an MS Access database, using ADO. In one of the tables
is a text field called Position, and in the app I run the following query
using a TADOQuery object:
select sum(profit) from trades where position="long"
This query results in an "Unspecified error" message (which is an OLE error)
when opened, and so does every other query referring to the Position field.
All other queries run without any problem. I suspected that for some reason
the field name was a problem, and when I changed it to TradePosition
everything was fine.
I wonder if anyone knows why that field name would cause a problem.
Glenn
.
- Follow-Ups:
- Re: Strange "unspecified error" in D7/Access query
- From: Vitali Kalinin
- Re: Strange "unspecified error" in D7/Access query
- From: Bill Todd
- Re: Strange "unspecified error" in D7/Access query
- Prev by Date: What is the maximum number of columns supported by ADO
- Next by Date: Re: Strange "unspecified error" in D7/Access query
- Previous by thread: What is the maximum number of columns supported by ADO
- Next by thread: Re: Strange "unspecified error" in D7/Access query
- Index(es):
Relevant Pages
|