title: BIRT reports - add parameter through script
body: <p>I have a BIRT report that uses a query like below.</p>
  
  <p><code>select 
      Dealer,
      Name
  from customerA where id = ?
      union all
  select 
      Code as Dealer,
      last_name as Name
  from customerB where id = ?
      union all 
  select 
      Num as Dealer,
      owner as Name
  from customerC where id = ?</code></p>
  
  <p>I have a input text box in the report itself and a refresh button which reload the report.
  also my report have parameter called 'CUST_ID' which i bound in the dataset as param_1,param_2 and param_3 to replace with '?' mark while executing.</p>
  
  <p>if i enter the parameter on parameter popup screen report works fine , but i need to enter the id in the text box and once i press the refresh link reload report accordingly. </p>
  
  <p>How can i add the input text value ( i know i can get it from a script ) and set it to the report parameter 'CUST_ID' ?</p>
  
  <p>Highly appreciate your help.</p>
  
  <p>Thank you in advance.</p>