Solved

delphi question

Posted on 2011-03-12
3
320 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

Suggested Solutions

Title # Comments Views Activity
Printing problem 2 125
Show Listview image from database (String field) 5 191
Tvertscrollbox like a whatsapp layout 5 69
Delphi, TImage, Png 2 59
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 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