Article View: borland.public.cppbuilder.database.ado
Article #4041Re: Data Module vs. Form
From: Jurko
Date: Tue, 23 Apr 2002 11:10
Date: Tue, 23 Apr 2002 11:10
66 lines
3012 bytes
3012 bytes
hehe .. you should read that like this: "We (the developers of VCL components) really tried to call this method whenever it is needed and hope that we didn't miss too many places where it is, and that we didn't call it too often when it's not needed." I guess they missed a place when a dataset is bein destroyed :-))) But did it help? Jurko "Nelson Kaeppel" <njkaepp@mailbag.com> wrote in message news:3cc4c20c$1_2@dnews... > Thanks. However, per the documentation: > > CheckBrowseMode is always called when necessary, so there is usually no need > to call CheckBrowseMode directly. > > So I should not have to do this. > > Thanks for taking the time to respond. > Nelson Kaeppel > "Jurko" <Jurko@ve-mil.hr> wrote in message > news:udg0aa.cg1.ln@news.ve-mil.hr... > > Tried posting the changes? > > > > (after editing the text in your control, or before closing your > > form/datamodule call > > the TADODataSet::ChechBrowsMode() method.) > > > > HTH, > > Jurko > > > > "Nelson Kaeppel" <njkaepp@mailbag.com> wrote in message > > news:3cc195d6$1_1@dnews... > > > Hello, > > > > > > If I have a DBEdit object on a form that points to a ADODataSet (and > > > DataSource) in a Data Module, the Edit will not update the database when > I > > > type something new into it. However, if I move the Dataset and > DataSource > > > to the form, it will update the database. Its reading the DB just fine > > (an > > > Access DB I am using for test) - so I know I have my connections setup > > > properly. I have also verified I dont have READ-ONLY and AUTOEDIT > > > attributes set incorrectly. A Grid works fine - it will update both > ways. > > > > > > Am I doing something obviously wrong. I am a novice programmer. Or is > > this > > > a bug. > > > > > > Thanks > > > Nelson Kaeppel > > > > > > > > > > > >
Technical Details
Message-ID:
<bdf3aa.gge.ln@news.ve-mil.hr>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!news.maxwell.syr.edu!hub1.nntpserver.com!telocity-west!TELOCITY!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!news.ve-mil.hr!not-for-mailReferences:
<3cc195d6$1_1@dnews> <udg0aa.cg1.ln@news.ve-mil.hr> <3cc4c20c$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,8b338ee8b7f94bba X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-04-23 04:27:24 PST From: "Jurko" <Jurko@ve-mil.hr> Newsgroups: borland.public.cppbuilder.database.ado References: <3cc195d6$1_1@dnews> <udg0aa.cg1.ln@news.ve-mil.hr> <3cc4c20c$1_2@dnews> Subject: Re: Data Module vs. Form Date: Tue, 23 Apr 2002 13:10:21 +0200 Lines: 68 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <bdf3aa.gge.ln@news.ve-mil.hr> NNTP-Posting-Host: 195.29.221.130 X-Trace: dnews 1019560853 195.29.221.130 (23 Apr 2002 04:20:53 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!news.maxwell.syr.edu!hub1.nntpserver.com!telocity-west!TELOCITY!news-out.spamkiller.net!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!news.ve-mil.hr!not-for-mail