1. jaume
  2. Valentina Reports ADK
  3. Samstag, Februar 23 2019, 12:09 PM
  4.  Abonnieren via E-Mail
Hello,

I've just created a new valentina report with parameters. Viewing this report with interative paremeters works fine.

I don't know the reason why whn I call this report from xojo parameters are ignored.

mRpt = prj.MakeNewReport( app.pl_Reportfilename, ds, app.pl_sql1,app.pl_params )


app.ps.params is an array of 10 elements

What's wrong ?

Thank you
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hello,

For report named parameters it is necessary to use SetParameterValue method:
mRpt = prj.MakeNewReport( app.pl_Reportfilename, ds, app.pl_sql1 )
mRpt.SetParameterValue( "param1", "value1" )
mRpt.SetParameterValue( "param2", "value2" )
Kommentar
There are no comments made yet.
jaume Akzeptierte Antwort
Thank you
Kommentar
There are no comments made yet.
  • Seite :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories