1. Jochen Peters
  2. Valentina Reports ADK
  3. Wednesday, July 12 2017, 03:34 PM
  4.  Subscribe via email
how I can use the same report but without parameters and with parameters.
any example how this works
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hi Alexis,

Do you mean the parameters used inside of the query?

SELECT * FROM t1 WHERE f1 = $P(Param1)

But sometimes you need the complete list SELECT * FROM t1

Right?

You can pass the query without parameters into the MakeNewReport method (like it was done before parameters were introduced).

And if you need to set the parameters for the default query, pass an empty query.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 1
Jochen Peters Accepted Answer
if any way to have two query and by code select one and then if have parameters then send it
example
query1 this one has parameters
query2 no parameters but run with same reports
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 2
Sergey Pashkov Accepted Answer
No, currently it's not possible.
But it is an interesting idea.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 3
Jochen Peters Accepted Answer
if any way to call the query save on the report project.

if i can call the query by the name y can modify and then send the query.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 4
Sergey Pashkov Accepted Answer
No, currently it is not possible.

We have to discuss it, seems to be useful to call the query by name.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 5
Jochen Peters Accepted Answer
ok
thanks
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 6
  • 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