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
Solved

Master Table with 2 detail tables

Posted on 1998-04-08
1
162 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 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