Article View: borland.public.cppbuilder.database.ado
Article #4021Data Module vs. Form
From: Nelson Kaeppel
Date: Sat, 20 Apr 2002 16:22
Date: Sat, 20 Apr 2002 16:22
15 lines
1632 bytes
1632 bytes
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:
<3cc195d6$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!newsfeed.wirehub.nl!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!news-out.newsfeeds.com!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,8b338ee8b7f94bba,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-04-20 09:28:45 PST From: "Nelson Kaeppel" <njkaepp@mailbag.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: Data Module vs. Form Date: Sat, 20 Apr 2002 11:22:54 -0500 Lines: 17 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: <3cc195d6$1_1@dnews> X-Trace: dnews 1019319766 24.196.130.109 (20 Apr 2002 09:22:46 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!newsfeed.wirehub.nl!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!news-out.newsfeeds.com!propagator2-maxim!propagator-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews