🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1097

Re: DB Transactions with Access

#1097
From: Jerry Bloomfield (TeamB)
Date: Sun, 18 Jun 2000 00:00
31 lines
2008 bytes
On Fri, 16 Jun 2000 14:07:36 +0200, "pepito perez" <pepito@hotmail.com>
wrote:

>I launch two different transactions from two clientes, one of them begins to
>insert registers into a table, the other one try to delete registers from
>the same table.
>
>The same proof works fine with SQL Server, but when I try it with Access the
>program gives me an "Access violation".
>
>Does Acess work well with transactions ?

I do not believe that MS-Access supports Database Transactions (at least
not through Access97 AFAIK).  MS-Access does try to provide most of the
same functionality as MS-SQL Server,  but there are a few areas where it
falls far short...

The "Access Violation" means that your program is attempting to reference
memory which it is not authorized to access.  This could be by referencing
through a NULL pointer (you should be able to trace back to that in the
debugger though).  If you look at the call-stack when you get your A-V
error,  you can tell where the error is happening.  It might be that you
are passing an invalid value to a VCL function, or that you are
accidentally referencing through a NULL pointer, or one of a number of
other issues.

Jerry Bloomfield (TeamB)
-- 
http://www.teamb.com                                      JersWork@wwa.com
Please do *NOT* send private e-mail without prior permission (my anti-spam 
filters will probably just delete it anyway <g>)
Technical Details
Message-ID: <4uoqkscb2ju372jdpo9p488t2eajar1p0c@4ax.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8id3u6$e7q1@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,704320d0c6d9f73
X-Google-Attributes: gidfcd2b,public
From: "Jerry Bloomfield (TeamB)" <JersWork@wwa.com>
Subject: Re: DB Transactions with Access
Date: 2000/06/18
Message-ID: <4uoqkscb2ju372jdpo9p488t2eajar1p0c@4ax.com>
X-Deja-AN: 636180979
Content-Transfer-Encoding: 7bit
References: <8id3u6$e7q1@bornews.borland.com>
Organization: LSVFA - Latest Software Version Freaks Anonomous
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier