Article View: borland.public.cppbuilder.database.ado
Article #4033Re: Data Module vs. Form
From: Nelson Kaeppel
Date: Tue, 23 Apr 2002 02:08
Date: Tue, 23 Apr 2002 02:08
46 lines
2286 bytes
2286 bytes
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:
<3cc4c20c$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3cc195d6$1_1@dnews> <udg0aa.cg1.ln@news.ve-mil.hr>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-22 19:09:29 PST From: "Nelson Kaeppel" <njkaepp@mailbag.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3cc195d6$1_1@dnews> <udg0aa.cg1.ln@news.ve-mil.hr> Subject: Re: Data Module vs. Form Date: Mon, 22 Apr 2002 21:08:28 -0500 Lines: 48 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 NNTP-Posting-Host: 24.196.130.109 Message-ID: <3cc4c20c$1_2@dnews> X-Trace: dnews 1019527692 24.196.130.109 (22 Apr 2002 19:08:12 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews