Jump to content
We've recently updated our Privacy Statement, available here ×

tess.liew

Members
  • Posts

    1
  • Joined

  • Last visited

tess.liew's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I am using mysql to write a script and get the parameter from jasper. My sample as below: select xxxxx from abc WHERE if((($P{paymentTypes}) = '' , 1=1,payment_method_type_id in ($P!{paymentTypes})) This mean that. If i detect the paymentTypes parameter = '', then select all rows out. Otherwise the paymentTypes must be in payment_method_type_id The 2nd option is correct. But when detect '', it cannot show all rows out. It just give a blank page in the report. What should i do for this?
×
×
  • Create New...