🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi.bazy-danych
Article #111

ChildForm

#111
From: Tomasz Witek
Date: Thu, 01 Apr 1999 19:35
27 lines
1262 bytes
Mam same problemy ostatnio. Ale teraz to Delphi mnie zaskoczylo
calkowicie.

Sytuacja:

MainForm   - MDI
ChildForm
DataModule

W MainForm wybieram rekord.
i wywoluje ChildForm(id);

ChildFormOnCreate - robi -
  DM:=TDM.Create();
  Otwieram Bazy ktore sa wyswietlane na formie.

I teraz problem.

Wyswietlam pierwszy rekord.
Wszystko jest OK.
Wyswietlam drugi i widze jeszcze raz pierwszy.

Chociaz  Table.FielbByName zwraca drugi.

Myslalem ze child formy sa niezalezne. :(((

Tiwek
Technical Details
Message-ID: <3703CA79.C543C05D@manta.univ.gda.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!polsl.gliwice.pl!news.task.gda.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!polsl.gliwice.pl!news.task.gda.pl!not-for-mail
From: Tomasz Witek <tiwek@manta.univ.gda.pl>
Newsgroups: pl.comp.lang.delphi.bazy-danych,pl.comp.lang.delphi
Subject: ChildForm
Date: Thu, 01 Apr 1999 21:35:23 +0200
Organization: CI TASK http://news.task.gda.pl/
Lines: 28
Message-ID: <3703CA79.C543C05D@manta.univ.gda.pl>
NNTP-Posting-Host: tiwek.ds.univ.gda.pl
Mime-Version: 1.0
X-Trace: korweta.task.gda.pl 922995260 11835 153.19.22.226 (1 Apr 1999 19:34:20 GMT)
X-Complaints-To: abuse@task.gda.pl
NNTP-Posting-Date: 1 Apr 1999 19:34:20 GMT
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit