Article View: borland.public.cppbuilder.database.ado
Article #1596Re: Record changed by another user
From: Viatcheslav V. Vassiliev
Date: Fri, 28 May 2004 09:38
Date: Fri, 28 May 2004 09:38
29 lines
2174 bytes
2174 bytes
ADO writes changes immediately. Try to add primary key to every table that you are using. //------------------------------------------ Regards, Vassiliev V. V. http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + ADO.Net http://www.oledbdirect.com - The fastest way to access MS SQL Server, MS Jet (Access) and Interbase (through OLEDB) "Nigel" <nhussey@absamail.co.za> �������/�������� � �������� ���������: news:40b62c78@newsgroups.borland.com... > Hi All, > I am using a MSAccess database. I connect to the database using > ADOConnection (CB6). The broblem that i am experiancing is that quite often > my application reports an error when editing a record something in the likes > of "Another user has made changes to ths record" (not being used as a > multi-user application). The only way around this is refreshing the table > but this can take time. Is there a connection method that will instruct > ADOTables to write changes immediatly to the underlying table. > P.S. I am not using cached updated. > > Thanks > Nigel > >
Technical Details
Message-ID:
<40b7088b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40b62c78@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,cd32159a23e25b65 X-Google-Attributes: gid10698b,public From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <40b62c78@newsgroups.borland.com> Subject: Re: Record changed by another user Date: Fri, 28 May 2004 13:38:23 +0400 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 213.234.218.42 Message-ID: <40b7088b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1085737099 213.234.218.42 (28 May 2004 02:38:19 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx01.iad01.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail