Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to execute procedure in oracle database
Message
From
30/11/2005 12:38:11
Devrishi Bhogra
Escorts Claas Limited
Faridabad, India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Unable to execute procedure in oracle database
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Network:
Windows NT
Database:
Oracle
Miscellaneous
Thread ID:
01073314
Message ID:
01073314
Views:
48
hi there,

i am unable to execute stored procedure in oracle database. To access the data from oracle application (11i) views we need to execute one stored procedure

fnd_clent_info.set_org_context(OrgID)

after executing this procedure, one can acces data from views. Actually this function sets organization ID.

problem which i am facing is using sqlexec() function of VFP i can access data from oracle application tables. but when i execute above mentioned procedure using

=sqlexec(gconn,"{call fnd_clent_info.set_org_context(OrgID)}"

after this when i try to access data from any view using statement

=sqlexec(gconn,"select * from "view name",mycursor)

it returns nothing.


my question is why this procedure is not getting executed through foxpro. same procedure works when i use TOAD free for oracle. Or if i execute same code in visual basic using ADO.

pleaes help.


regards

devrishi
Next
Reply
Map
View

Click here to load this message in the networking platform