Article View: borland.public.cppbuilder.database.ado
Article #5552abot ado for odbc driver
From: jane
Date: Tue, 10 Apr 2001 05:21
Date: Tue, 10 Apr 2001 05:21
19 lines
1501 bytes
1501 bytes
For three_tier application,on the appliction server, I put a TADOConnection,a TADODataSet,a TDataSetProvider In the Transaction Data Module. The TADOConnect connect a SQLSERVER database by ado for odbc. in sqlserver database table,i have a datatime field, it's default value is (getdate()). in client app,i insert a new record ,i don't set the datatime field's value,i want the default value.The ClientDataSet execute ApplyUpdates(0) successfully. then i modify one of the records ,error "user by another user" display. that is, inserting a new record is right,modifiing a record is error,why??? thanks (i am sorry that my english is poor)
Technical Details
Message-ID:
<3ad296c1_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!206.252.192.28!news.stealth.net!feed.textport.net!news.bnb-lp.com!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,f642fc226af2b6ac,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-04-09 22:42:14 PST Reply-To: "jane" <janez@pbtco.com> From: "jane" <janez@pbtco.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: abot ado for odbc driver Date: Tue, 10 Apr 2001 13:21:34 +0800 Lines: 23 Organization: powerbridge X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 202.104.184.237 Message-ID: <3ad296c1_2@dnews> X-Trace: dnews 986879681 202.104.184.237 (9 Apr 2001 22:14:41 -0700) Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!206.252.192.28!news.stealth.net!feed.textport.net!news.bnb-lp.com!dnews