Solved

delphi question

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to convert wav to mp3 in delphi 9 197
ddeman not working in activex 3 103
Delphi: making a BW image transparent 10 37
enhance the following code 3 30
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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 a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

785 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