If you are unable to create a new account, please email bspsoftware@techdata.com

Author Topic: How to send a ParamValue to Bind Variable in Oracle DB  (Read 179 times)

Offline SeniorCoignos

  • Associate
  • **
  • Join Date: Jan 2023
  • Posts: 2
  • Forum Citizenship: +0/-0
How to send a ParamValue to Bind Variable in Oracle DB
« on: 17 Jan 2023 08:17:35 am »
Good day,

I would like to send a ParamValue directly to the Database.
However, whenever I try to use the ParamValue function in a DataItem I get an error.

Does anyone know how I would be able to do this?

Kind regards,

SeniorCoignos

Offline bus_pass_man

  • Statesman
  • ******
  • Join Date: May 2008
  • Posts: 537
  • Forum Citizenship: +48/-0
Re: How to send a ParamValue to Bind Variable in Oracle DB
« Reply #1 on: 17 Jan 2023 05:00:05 pm »
What's the error message?

Offline SeniorCoignos

  • Associate
  • **
  • Join Date: Jan 2023
  • Posts: 2
  • Forum Citizenship: +0/-0
Re: How to send a ParamValue to Bind Variable in Oracle DB
« Reply #2 on: 19 Jan 2023 02:46:16 am »
Good day,

So I've gotten a bit further with this problem, I've been able to get the ParamValue into a DataItem that I can manipulate.

However, the ParamValue coming from the dashboard module is multiselect, but whenever I do #sq(ParamValue('P_My_Prompt'))# I only get back a single value.
How would I go about getting all the values into a DataItem?

Any help would be much appreciated.

Regards,

SeniorCoignos