Solved

Retrieving data from related tables in codebase delphi

Posted on 2004-10-05
2
147 Views
Last Modified: 2010-04-05
Hello,

Can anyone help me to create an application on Delphi and Codebase.
I need to select data from two tables like master and detail and i want to print both tables data together

I am having problem with relate two tables and retrive data from the relation.

If anyone have idea on this,  please explain. if it is possible with example

Thanking you,

Punitha.M.V.
0
Comment
Question by:sritharanb
  • 2
2 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 500 total points
ID: 12235216
??
>and i want to print both tables data together


usual you could use a select like

select * from master, detail where master.id = detail.master_id

or if you have detailless masters

select * from master left outer join detail on master.id = detail.master_id

you should explain your needs more detailed

meikl ;-)
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 12236464
just to reask about the c-grade

i advice you to read
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/help.jsp#hi73

meikl ;-)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 304
Delphi TcxGrid group footer summary 3 278
Firemonkey webbrowser scrollbars ? 1 41
Delphi...Split view - idea? 1 70
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

832 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