1. Jochen Peters
  2. Valentina Reports ADK
  3. 火, 8月 02 2016, 02:25 AM
  4.  メールで購読
hi
how i use the Parameter from XOJO to de Reports
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
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" )
コメント
There are no comments made yet.
  • ページ :
  • 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. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories