Jump to content

Problem with Automatically Retrieve Fields


danysabo

Recommended Posts

Hello,

I have following sql query inside iReport query window:

select ca.* from carassignment cajoin car c on ca.carId = c.id and c.status in ($P!{STATUSES})

I have problem when 'Automatically Retrieve Fields' option is checked, it says that I have error in SQL syntax. But if I compile report with that query, everything is fine. Problem is the mark '!', but I need that mark to avoid inserting single quota character.

I think this is bug, iReport need not report that I have error in SQL syntax.

I'm sorry if this problem is already reported, I didn't find it searching the forum.

Regards,

Daniel Sabo

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...