Jump to content

Parameter is where x like $P


jvway

Recommended Posts

Using iReport 3.1.4 and trying to get a parameter to be entered as the value for a like statement in SQL.

So if the where statement is WHERE project.name like $P{proj_id}

How is this formatted.  The only thing I've seen close in searching for clues on this is '$P{proj_id}%'  but this didn't work and neither did any of the other myriad combinations I've tried.  So if anyone knows how this is supposed to be formatted I'd appreciate knowing as well.

Thanks,

JW

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Well, yes that worked. Thanks.

Sure seemed like I tried that but I guess without the !.

 

A search doesn't reveal you post. What odd forum software this is. Have you noticed that if you do an advanced search it will show you posts in other forums but cannot take you there?

Link to comment
Share on other sites

  • 9 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...