Jump to content

Table name in QueryString and Parameters


Recommended Posts

By: Sam - ssa00319

Table name in QueryString and Parameters

2003-04-25 09:01

Hi,

 

It is possible to use parameter field to replace a table name in the Sql String by the value of this parameter (ex: "select * from $P{PivotTable}" or "select * from ?PivotTable" ) ?

If yes, how and which synthax has to be used ?

 

Thanks

 

 

 

 

By: Teodor Danciu - teodord

RE: Table name in QueryString and Parameters

2003-04-29 13:41

 

Hi,

 

You use the P!{param_name} syntax.

 

Check this:

 

http://jasperreports.sourceforge.net/tutorial/index.html#parameters

 

I hope this helps.

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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