opensubscriber
   Find in this group all groups
 
Unknown more information…

d : delphi@listserver.123.net.nz 24 June 2012 • 6:57PM -0400

[DUG] Chick or egg.
by Marshland Engineering

REPLY TO AUTHOR
 
REPLY TO GROUP




I'm opening an MYSql file. I am reading data from a ini file to pre-populate
the fLogin edit boxes.

I can't open the SQL until I have logged in and the datamodule does not
allow edit boxes.

If I put the TMyConnection on a login page, the datamodule components can't
find the tables, even if I add the fLogin to the uses list.

If I put the TMyConnection on the DM page and the call fLogin with the on
create, I get an access violation message. I assume it is because the DM has
not fully created itself and the components.

Any Suggestions ?  One is having connection function left on the DM form but
it references the parameters from fLogin.

I guess having a window on the DM form would be the answer.

Thanks Wallace.

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@list...
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request@list... with Subject: unsubscribe

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.