Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 326
  • Last Modified:

delphi question

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
AbhiJeet
Asked:
AbhiJeet
1 Solution
 
LelikInsideCommented:
use ADO components from Delphi components palette
0
 
AbhiJeetAuthor Commented:
i am using direct oracle access components?
how to do by using oraclequery component?
0
 
jimyXCommented:
Use DataSource component and connect it to the DBGrid and the OracleQuery.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now