Re: ADP vs. MDB?
- From: "Nick Stansbury" <nick.stansbury@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 14 Oct 2005 10:35:20 +0100
I just re-converted my .adp project back to an .mdb. Lots of reasons for
it - primarily we found .adp was just full of irratating bugs. Works faster
in an .mdb which I just can't understand!
One major problem we had was that in an adp all calls to the database seem
to run in the same connection context (i.e. adp opens one connection to the
db, and then runs everything down that connection - when you close the db
the connection closes). This caused us all sorts of problems - not least
when certain idiots (i.e. me) omitted a certain "commit tran" after a
"rollback tran" I ended up with ado throwing away the error message (it
seemed to go into the recordset returned by the command!?!) and then every
subsequent insert / update / delete command ran inside that open-ended
transaction context. When you then shut the db all of the changes you made
since the rollback tran get thrown away. Led me to make the decision to
revert to an .mdb, open and close my own connections as required, implement
asynchronous data interaction with ado (i.e. background processing &
fetching of recordsets), client side cursors (no more endless recordlocking
for people who've left the admin client open) and a proper error handling
system - and I also went away and closed up that stupid open ended
transaction.
Still get a few crashes though. Has anyone else had this sort of experience
making heavy use of ado, access 2003 & sql server? Seemingly pretty random
(sometimes get proper crashes, sometimes access just closes itself without
any warning).
Nick
"Malcolm Cook" <malcook@xxxxxxxxxxxxxxxx> wrote in message
news:%23W2lPS6zFHA.3780@xxxxxxxxxxxxxxxxxxxxxxx
> "Mary Chipman [MSFT]" <mchip@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:l2tqk1tq000q11h4jb4tlg936upp6u7dpi@xxxxxxxxxx
> > The Access team at Microsoft recommends that for new Access-SQL
> > projects you use an mdb for the front-end.
>
> Do you have a quote or other reference for this statement? Do they give
reasons?
>
> Inquiring minds, etc...
>
>
> --Malcolm
>
>
.
- References:
- ADP vs. MDB?
- From: Chris Burnette
- Re: ADP vs. MDB?
- From: Mary Chipman [MSFT]
- Re: ADP vs. MDB?
- From: Malcolm Cook
- ADP vs. MDB?
- Prev by Date: Re: MDB vs ADP
- Next by Date: Re: ADP vs. MDB?
- Previous by thread: Re: ADP vs. MDB?
- Next by thread: Re: ADP vs. MDB?
- Index(es):
Relevant Pages
|
|