LMegathlin previously wrote an article appearing in comp.lang.pascal.delphi.databases:
Well, as an old Delphi hand (been using it since June), I can help some.
Our company bought a big stack of Delphi Books. A couple of good ones
are Delphi Unleashed and Peter Norton's book (forgot the title).
There are also a number of pretty useless books.
However, now that I've gotten my feet wet, I think that best books are
the ones that come with Delphi + the help files.
...
Quote
>I have a form which shows information from three tables, using
>master/detail TTable components. There is one master table (PERSON) and
>two detail tables (BIRTH and MARRIAGE). There are two TQuery components,
>which use the master table's data source. One query finds all children
>for the current person record, the other finds all spouses for the current
>person record. I'm using two TDBGrid components to display the results of
>the queries (all spouses and children for the current person). This all
>works well, and was easy to do.
>What I would like to have is a TDBComboBox for the spouses, where I can
>display for each spouse Last Name, First Name, and Middle Initial. Each
>of these is a separate field in the person table, so the strings would be
>constructed from the results of the marriage query.
One of the nice things you can do with a TQuery is to create New fields.
Double click on the TQuery component go bring up the fields list, and
right-click on it to pop up the menu, select "New Field" and set the
new field to Calculated. You can then compute the value of the new
field in the OnCalcFields event. This is the most automatic way I can
think of (and having thought of it, I see how I can use it! ;-)
...
Quote
>My real question is: what resource can I go to for information at this
>level of detail in using Delphi to build a database app? I hesitate to
>drop down more $ for another book, if it is not going to be in enough
>detail. Also, where can I find a FAQ for developing database apps using
>Delphi?
Use the Help files. Unless you can find a book that tells you how do
exactly what you want, you will have to rely on your knowledge of
the properties and methods of the components available. So as you
use the components, look at their properties and think what they might
be useful for.
Kevin Davidson (ke...@qsinc.com)