Solved

Master Table with 2 detail tables

Posted on 1998-04-08
1
163 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 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