{"id":24743,"date":"2017-04-28T19:18:44","date_gmt":"2017-04-28T17:18:44","guid":{"rendered":"http:\/\/help.qualiware.it\/qw-help\/?p=24743"},"modified":"2017-04-28T19:18:44","modified_gmt":"2017-04-28T17:18:44","slug":"esecuzione-di-un-report-con-parametri-e-visualizzazione-in-anteprima","status":"publish","type":"post","link":"https:\/\/help.qualiware.it\/qw-help\/esecuzione-di-un-report-con-parametri-e-visualizzazione-in-anteprima\/","title":{"rendered":"Esecuzione di un report con parametri e visualizzazione in anteprima"},"content":{"rendered":"<p>&nbsp;<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\">' Il seguente frammento di codice mostra come eseguire un report REPX e farne scaricare il risultato in formato PDF\r\n' In questo esempio si presuppone che il report abbia un parametro denominato NUMDOC per filtrare il questionario \r\ndim numdoc as string\r\n\r\nUnPackCode(\"SC\",form.findcontrol(\"COD_QUEST\").value,numdoc)\r\n \r\ndim params as New AssocArray\r\nparams(\"NUMDOC\") = numdoc\r\nPrintReport2(form, \"STAMPA QUESTIONARIO.REPX\", null, \"\", null, \"Stampa questionario\",\"\",False,params)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &#8216; Il seguente frammento di codice mostra come eseguire un report REPX e farne scaricare il risultato in formato PDF &#8216; In questo esempio si presuppone che il report abbia un parametro denominato NUMDOC per filtrare il questionario dim numdoc as string UnPackCode(&#8220;SC&#8221;,form.findcontrol(&#8220;COD_QUEST&#8221;).value,numdoc) dim params as New AssocArray params(&#8220;NUMDOC&#8221;) = numdoc PrintReport2(form, &#8220;STAMPA QUESTIONARIO.REPX&#8221;,&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[65],"tags":[71],"acf":[],"_links":{"self":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/24743"}],"collection":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/comments?post=24743"}],"version-history":[{"count":0,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/24743\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/media?parent=24743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/categories?post=24743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/tags?post=24743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}