Delphi, Tables, and Convention

From: ATM Dude (news_at_phreakshow.no)
Date: 01/18/05


Date: Tue, 18 Jan 2005 10:18:56 -0800


I have an application that uses about 12 tables located on an MySQL
server via BDE. My application also has about 12 different units/forms
that use one or more of these tables.

Currently, I have the tables that I use on the forms that need them
i.e.: in one case I have a table "transactions" that is located on the
transaction view form AND in the reporting form.

I have been reading about TDatabase and I think this would solve some of
my problems like, the stupid login prompt that I don't want, but I can
eliminate with a TDatabase. This would make me centralize my tables
into one place, which slows reporting down a little bit as the
application tries to keep current, like the DBGrids try to keep up with
the record movement.

Should I centralize all these tables, is what I'm doing proper (I'm
certain it's not)? What is the accepted standard?

Thanks for your advice and opinions.

(Look, I found my "plain text" button!)

Erik


Quantcast