Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

oracle, vb 8.5 set_role command

Status
Not open for further replies.

inncoggnitto

Programmer
Jun 19, 2001
77
US
our oracle db is set so that in order to execute a stored procedure the users password, id and role must be passed (oracle will only allow a vb application to connect if it is running from an exe (executable) file). to do so first must connect then pass the following

varSetRole = "BEGIN DBMS_SESSION.SET_ROLE(tsec.srole('mum_app')); END;"
cn.Execute varSetRole

i want to run the stored procedure from the crystal report, which works just fine in the development environ where no role is required. i cannot find an object for crystal to pass the role.

anybody have any ideas?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top