Solved

delphi question

Posted on 2011-03-12
3
314 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
Comment Utility
use ADO components from Delphi components palette
0
 

Author Comment

by:AbhiJeet
Comment Utility
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
Comment Utility
Use DataSource component and connect it to the DBGrid and the OracleQuery.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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 this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now