🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2061

DBEdit OnChange event problem when Post new record

#2061
From: Y. Geoy
Date: Thu, 27 Nov 2003 21:09
7 lines
1268 bytes
I have a DBGrid and a DBEdit linked to a DataSource and ADOTable1.
When I move in the DBGrid, the OnChange event on DBEdit is called and I
update a filter of another Table with DBEdit->Text. This works fine. The
problem is when I Post a record to ADOTable1, the OnChange event is called
but the value of DBEdit-Text is empty. Is it because the DBEdit field is not
loaded yet? If yes, how can I handle that?
Thanks,  Y Geoy
Technical Details
Message-ID: <3fc6681c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,8bd63c2a30f20645,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-11-27 13:18:17 PST
From: "Y. Geoy" <ygeoy@hotmail.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: DBEdit OnChange event problem when Post new record
Date: Thu, 27 Nov 2003 16:09:15 -0500
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 65.95.33.220
Message-ID: <3fc6681c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1069967388 65.95.33.220 (27 Nov 2003 13:09:48 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail