Click to See Complete Forum and Search --> : SQL In Crystal Report


trongdu
February 24th, 2006, 08:27 PM
Hi
All Every One
i have two Table Employee(ID_Employee,Name_Employee,...) and
Book_Borrow(ID_Book,ID_Employee,...)
in Crystal Report i want to get Name_Employee when i display report Book_borrow.

How i can to do it?
Can you help me?
thank you.

FaFa
February 25th, 2006, 03:28 AM
Hi,

According to u r requirement the 2 tables should link to be able to thow
Emp Name when u show the Book_borrow

so in the 'Database Expert' under the 'Link' tab
drag and drop the 'ID_Employee' from the Emloy..... tbale to Book_Borrow
'ID_Employee' , then when viewing the records of the Borrow place the
field of Name_Employee in the Group/Detail section where ever u r showing them

FaFa

sraheem
February 28th, 2006, 07:51 AM
Hi
alternate solution
U can use sql directly in command object with a join.