Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 To: Malik Aqeel
  Where is Malik Aqeel?
 Faisalabad
 Pakistan
 Malik Aqeel
 Tags
Subject: RE: function to call in oracle 10g express
Thread ID: 216440 Message ID: 216489 # Views: 26 # Ratings: 0
Version: Visual FoxPro 9 Category: ODBC, ADO and OLEDB
Date: Friday, February 13, 2009 12:58:59 PM         
   


> > Abdul,
> > You are correctly calling with 'call'.
> > I don't use Oracle but in SQL server when it is a function I need to include owning schema like dbo.MyFunction as opposed to MySp. Might that be something like that in Oracle? When it fails check what aerror() is returning (and preferably first try from Oracle's tool -whatever it is- if it is working).
> >
> > Cetin Basoz
> >
> > My Blog (main)
> > My Blog (mirror)
>
>
> you are right dear it works in Sql server as you said above.
> if you people simple look at the function you shall find that
> i have just inserted a value from a table into a variable called
> mt. function complied successfully in oracle so there is no problem
> on that side. it is being called by passing parameters and it should
> return back a value as any procedure does. if i write the same and get
> the result from procedure than it works fine. I just want to know is there
> any change of command to call function???
>
> any detailed answer will be welcomed.
>
> Regards,
> Abdul Aqeel

"it is being called by passing parameters and it should return back a value as any procedure does".
Does any procedure really return a value? Maybe it does in Oracle.
Actually your procedure looked awkward but since I don't have oracle preferred to accept it is working that way.

Maybe this helps.

http://social.msdn.microsoft.com/Forums/en-US/visualfoxprogeneral/thread/fb91a409-6c1d-4928-98fa-8da2b778cf8b

Cetin Basoz

.Net has got better.Think about moving - check my blog:
Blog (main)
Blog (mirror)



COMPLETE THREAD
function to call in oracle 10g express Posted by Malik Aqeel @ 2/13/2009 8:40:34 AM
RE: function to call in oracle 10g express Posted by surinder singh @ 2/13/2009 9:28:09 AM
RE: function to call in oracle 10g express Posted by Martina Jindrová @ 2/13/2009 10:47:00 AM
RE: function to call in oracle 10g express Posted by Cetin Basoz @ 2/13/2009 11:34:42 AM
RE: function to call in oracle 10g express Posted by Malik Aqeel @ 2/13/2009 12:04:01 PM
RE: function to call in oracle 10g express Posted by Cetin Basoz @ 2/13/2009 12:58:59 PM