Re: A bug in MS Access
- From: Tim Ferguson <FergusonTG@xxxxxxxxxxxx>
- Date: Wed, 04 Jan 2006 12:34:54 -0800
"=?Utf-8?B?cmFqZWV2MjAwNQ==?=" <rajeev2005@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in news:E5A4AF7B-9C4C-424D-A3E0-E31F6EAB98AF@xxxxxxxxxxxxx:
> You made confusion in me and i thought you were right. Now it seems
> as a
> bug in MS Access. And also a bug in ADO.Net because of the bug in MS
> Access.
THERE IS NO BUG -- all this is expected behaviour according to the way
that Access works; it's well documented in the Help, and in just about
every manual that has ever been written. It is behaviour turning up in a
slightly unusual and unexpected situation, but that does not alter the
fact that it's a _developer_ problem not a Microsoft one (and you don't
catch me saying that very often!).
Scenario one: a query like this
SELECT Something FROM Somewhere WHERE Location = [Enter
location here:]"
Bog-standard parameter query: if you are using VBA, then the DB Engine
will throw an error because the [Enter location here:] parameter was not
declared; while the Access GUI will intercept it and raise an input box.
This is normal expected behaviour and lots of people would be moaning if
it were any other way.
Scenario two: a query like this
SELECT Something FROM Somewhere WHERE [non existent field] = 10;
is actually exactly the same. Until Microsoft actually release their
Telepathy Extensions, Access has No Way Of Knowing that the [non existent
field] is not an undeclared parameter. So it reacts in the normal, time-
honoured, documented and expected way -- see above. No bug. No problem.
In this particular situation, it is the developer's responsibility to
ensure that he or she is releasing properly debugged code with (at the
very least!) no mis-spellings in the SQL. There is no excuse -- the
problem you are reporting here is one of lazy programming and inadequate
testing. Just this once, you cannot shift the blame onto Microsoft; you
have hour own house to get in order.
Hope that helps
Tim F
.
- Follow-Ups:
- Re: A bug in MS Access
- From: rajeev2005
- Re: A bug in MS Access
- References:
- Re: A bug in MS Access
- From: Allen Browne
- Re: A bug in MS Access
- From: rajeev2005
- Re: A bug in MS Access
- From: TC
- Re: A bug in MS Access
- From: Tim Ferguson
- Re: A bug in MS Access
- From: TC
- Re: A bug in MS Access
- Prev by Date: Re: Adding Multiple Lines Using an Access Text Box
- Next by Date: Re: Changing the properties of an Append Query in VBA
- Previous by thread: Re: A bug in MS Access
- Next by thread: Re: A bug in MS Access
- Index(es):
Relevant Pages
|