Solved

Retrieving data from related tables in codebase delphi

Posted on 2004-10-05
2
145 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

17 Experts available now in Live!

Get 1:1 Help Now