Solved

Master Table with 2 detail tables

Posted on 1998-04-08
1
159 Views
Last Modified: 2010-04-04
I have Delphi2, Win95, and InfoPower 2.0

My application has one table (Sales) that has two detail records.

Sales ----Line Items
Sales --- Payments (used in the case of layaways, where there is multiple
payments).

I have everything tied together as far as the master/detail(s)  relationships
go...
My question is how to I do database processing.  I have one DBNavigator
control, and that is all that I want.

For example, on a save on the master record, what commands would be issued
on the detail records?

Do I tie them in to Post processing events on the Master Table?

Please be explicit...

Thanks
GMAN
0
Comment
Question by:gtas
1 Comment
 
LVL 8

Accepted Solution

by:
ZifNab earned 50 total points
ID: 1361337
Hi gtas,

The demo program MASTAPP of Delphi show you exactly how to manipulate this :
Look at the order form. there they use one master and one detail table, but also use only one navigator and etc...

I think you can learn everything if you look at the code of it, more then we can give you here with comments.

Regards, Zif.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now