Products

Home Forums eaDocX queries Report using SQL as source with #Package# in WHERE

Home Forums eaDocX queries Report using SQL as source with #Package# in WHERE

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8924
    Rajie Ragbeer
    Participant

    Hi,
    I created an aggregate query which counts based on specific conditions. This SQL query contains – WHERE p.Package_ID=#Package# – as the where condition. This query produces the proper results when run in the Query execution window. I would like to use this query in a report but it only works if I hard code the Package in the query. If I leave the #Package# macro in, I get no results. Using this parameter in the query will allow me to have just one query and then I can reuse this for many reports.

    Any ideas?

    Thanks
    Rajie

    #8925
    eadocX Support
    Participant

    eaDocX just submits the query SQL to EA API for it to run, because if we get EA to execute the query, it runs OK, but doesn’t give back the results. We have obviously asked several times for this feature, but no luck so far.
    We know there are differences in handling of SQL through the Sparx API, vs the same SQL through the EA user interface – looks like this is another which doesn’t work.

    #8926
    Rajie Ragbeer
    Participant

    Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Compare licence prices

Choose the licence that’s right for you and your team

Prices

Download a free trial

Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.

Download