oracle froms [message #85633] |
Wed, 14 July 2004 21:08 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kal
Messages: 2 Registered: January 2002
|
Junior Member |
|
|
hi there,
i need a help, can anybody tell me how to execute a database procedure or functions from the forms.
thanks in advance.
I try to use the execute command but it is doesnot work and in my form user selects the particular procedure and execute which will create a view or function at the backend.
jain
|
|
|
Re: oracle froms [message #85634 is a reply to message #85633] |
Wed, 14 July 2004 21:16 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Himanshu
Messages: 457 Registered: December 2001
|
Senior Member |
|
|
Hi,
Simply call the Procedure from your form with required parameters.
For e.g if you have a Procedure as follows:
Create or replace Procedure Proc1(A Number) is
Var1 Number(10);
Begin
..............
............
Exception
.........
End;
Then if you want to call this procedure from say Ke-commit trigger of your form simple write
Begin
X number(10):=5;
<Schemaname>.Proc1(X);
End;
HTH
Regards
Himanshu
|
|
|
|
|
|
Re: oracle froms [message #85679 is a reply to message #85676] |
Tue, 20 July 2004 11:59 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
Pp
Messages: 6 Registered: January 2004
|
Junior Member |
|
|
----- Your Code is Here ---------------
Begin
X number(10):=5;
.Proc1(X);
End;
Bhai ji Now tell me ye chalega nahi to daudega??????
|
|
|