1. Jochen Peters
  2. Valentina Reports ADK
  3. Tuesday, August 02 2016, 02:25 AM
  4.  Subscribe via email
hi
how i use the Parameter from XOJO to de Reports
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hi Alexis,

You can find parameters description and their usage at the following places:
Valentina Reports Parameters
SetParameterValue

In short.

Parameters can be defined:
  • inside of the Expression Field in your report
  • (e. g. Year: $P(param1=2016))
  • inside of the source query of your report
  • (e. g. SELECT * FROM t1 WHERE f1 = $P(param1=2016))

Later in code you can set the parameter value or leave a default:
dim theReport as VReport = my_project.MakeNewReport( "report_1", "sqlite://c:/somedb.sqlite" ) 
theReport.SetParameterValue( "param1", "2017" )
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 1
  • Page :
  • 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