1. Jochen Peters
  2. Valentina Reports ADK
  3. Mittwoch, Juli 12 2017, 03:34 PM
  4.  Abonnieren via E-Mail
how I can use the same report but without parameters and with parameters.
any example how this works
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
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.
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
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
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
No, currently it's not possible.
But it is an interesting idea.
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
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.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
No, currently it is not possible.

We have to discuss it, seems to be useful to call the query by name.
Kommentar
There are no comments made yet.
Jochen Peters Akzeptierte Antwort
ok
thanks
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. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories