Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Retrieving data from related tables in codebase delphi

Posted on 2004-10-05
2
Medium Priority
?
155 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
[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
  • 2
2 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 1000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

705 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