Solved

delphi question

Posted on 2011-03-12
3
321 Views
Last Modified: 2012-05-11
Hello Experts,

Need a quick soln for below problem,

i have a oracle package as

create or replace package pkg1 is
  type x_rc is ref cursor;
  procedure p(p_empid in integer,p_cur in out x_rc );
end pkg1;

create or replace package body pkg1 as

  procedure p(p_empid in integer ,p_cur in out x_rc )
  is
  begin
    open p_cur for select * from employee where emp_id = p_empid;  
  end;
end pkg1;

How to use this package in delphi for populating a grid?





0
Comment
Question by:AbhiJeet
[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
3 Comments
 
LVL 2

Expert Comment

by:LelikInside
ID: 35116868
use ADO components from Delphi components palette
0
 

Author Comment

by:AbhiJeet
ID: 35116924
i am using direct oracle access components?
how to do by using oraclequery component?
0
 
LVL 24

Accepted Solution

by:
jimyX earned 500 total points
ID: 35117000
Use DataSource component and connect it to the DBGrid and the OracleQuery.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses
Course of the Month7 days, 4 hours left to enroll

622 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