Article View: borland.public.cppbuilder.database.multi-tier
Article #1084Edit on IBDatabase
From: Giordano & C.
Date: Fri, 09 Jun 2000 00:00
Date: Fri, 09 Jun 2000 00:00
24 lines
1261 bytes
1261 bytes
I have this component: TIBDatabase *IBBobine; TIBTransaction *TransCommesse; TIBQuery *SQLCommesse; TDataSource *DSCommesse; TDBGrid *DBGridCommesse; DBGridCommesse->DataSource = DSCommesse; DSCommesse->DataSet = SQLCommesse; The record of my dataset in IBBobine is a class: CRecTaglioCommessa* m_poRecTaglioCommessa; I want to edit a record of this dataset in another form, so that I must pass the record with the cursor to the new form; the new form is auto create so that the declaration is: __fastcall TFModificaCommessa::TFModificaCommessa(TComponent* Owner, CRecTaglioCommessa* poRecTaglioCommessa) where, of course, poRecTaglioCommessa must be the edit record in dataset. How can I do to pass the edit record to the form FModificaCommessa ?
Technical Details
Message-ID:
<3940b718@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,e1fa252ce29bb05c,start X-Google-Attributes: gidfcd2b,public From: "Giordano & C." <giordano@mtrade.com> Subject: Edit on IBDatabase Date: 2000/06/09 Message-ID: <3940b718@dnews> X-Deja-AN: 632974676 X-Trace: 9 Jun 2000 02:21:28 -0800, 195.103.91.9 X-MSMail-Priority: Normal X-Priority: 3 Newsgroups: borland.public.cppbuilder.database.multi-tier X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300