Re: TZF - Reusing a from

Philip Kidder <[email protected]> Fri, 26 Sep 2003 10:11:47 -0400
Newsgroups gmane.comp.lang.delphi.topaz
Message-ID <[email protected]>
Randall,

Your suggestion did it. I just assumed that the form would be added to the
.dpr file automatically. It has been a couple years since I created the
first project and I forgot something's.

Thanks!

Phil

----- Original Message ----- 
From: "Randall H. Carpenter" <[email protected]>
To: <[email protected]>
Sent: Thursday, September 25, 2003 4:55 PM
Subject: RE: TZF - Reusing a from


> Phil,
>
> Have you called the Create method for the form containing the database
tables?  A call to the Create method of the form (or the datamodule)
containing the TTzDBF components must be made before referencing the TTzDBF
components.  I create my datamodule in the .dpr file with a call to
Application.CreateForm(TFormName, FormName).   FormName is whatever name you
have given the form containing the TTzDBFs.  Hope this helps.
>
> Randall
>
> -----Original Message-----
> From: Philip Kidder [mailto:[email protected]]
> Sent: Thursday, September 25, 2003 12:22 PM
> To: [email protected]
> Subject: TZF - Reusing a from
>
>
> Howdy,
>
> Stupid me, I thought I would reuse a form and it isn't working. I declared
a
> form with that contained all the databases in my application. The first
> project that I wrote using the database form works fine. When I started
the
> second project I added the form to the project and everytime I try to open
a
> database I get "Access violation at ####### in module 'CASHREG.EXE'. Read
of
> address FFFFFFFF.
>
> I have tried creating a new DataForm and use it instead and I still get
the
> error. Like I said the first project works.
>
> Am I loosing my touch or just my mind?
>
> Phil Kidder
>
>
>
>
>

--^----------------------------------------------------------------
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?clvXPN.a5kvff.Z2NsZHQt
Or send an email to: [email protected]

TOPICA - Start your own email discussion group. FREE!
http://www.topica.com/partner/tag02/create/index2.html
--^----------------------------------------------------------------