Forms 6i : unable to query the Employee(EMP) Details, Based on Department Name(DEPT.DNAME), [message #321783] |
Wed, 21 May 2008 05:32 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kumarc
Messages: 5 Registered: May 2008
|
Junior Member |
|
|
Hi All,
i am giving the Input as Dept Name(DNAME) in Department Table(DEPT). Based on the Input DNAME it needs to query the employee details and also display the Department Name for every record.
I had write procedure (TEST_EMP_DEPT) in attached file. Please check and suggest me where i went wrong in the code.
PS:- I am createing a deptname in DEPTNO field. changed the properties.
Any help is appreciated.
Thanks in advance.
|
|
|
|
Re: Forms 6i : unable to query the Employee(EMP) Details, Based on Department Name(DEPT.DNAME), [message #321828 is a reply to message #321796] |
Wed, 21 May 2008 07:34 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kumarc
Messages: 5 Registered: May 2008
|
Junior Member |
|
|
yes littlefoot, Master-Detail Relation is very simple, But my scenario is difeerent below.
Issue:
1) The Query field is Department Name(DNAME)- when query the Department Name, internally it needs to check the dept no then the Department Number(DEPT NO) Details wanted to display in the EMP Details Block.
2) Also wants to display the Department Name(DNAME) instead of displaying the Department Number(DEPTNO) in EMP Detail block.
Note: The EMP BLock is a Records Based Format(5 records need to show at the same time with scroll bar).
The above 2 issues should be cover. so i used that scenario.
if create a Master - Detail Relation how could we do those?
Also i have some other query fields like employee no(empno) also there to display the same EMP Detail Block Details.
Please check the scenario and know me how to do that.
Thanks,
kumar
|
|
|
|
|