Solved

Retrieving data from related tables in codebase delphi

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

930 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

21 Experts available now in Live!

Get 1:1 Help Now