| Author |
report form to an html file
|
|
|
| How can I run a report to an HTML file without the report listener dialog
box
When I run the command :
REPORT FORM myreport OBJECT TYPE 5
I get a dialog box and stores the filename to the clipboard. I would like to
either set the name or grab the name without the dialog. ( How can I get the
name from the clipboard)
| |
|
| To clarify:
I just need to get rid of the dialog box. Is this possible?
Thanks
"ghj" <ghj@ghj.com> wrote in message news:Ih4of.4736$tR6.1220@trndny09...
> How can I run a report to an HTML file without the report listener dialog
> box
>
> When I run the command :
>
> REPORT FORM myreport OBJECT TYPE 5
>
> I get a dialog box and stores the filename to the clipboard. I would like
> to either set the name or grab the name without the dialog. ( How can I
> get the name from the clipboard)
>
>
| |
|
| you need to subclass the reportlistener class and use it.
ghj wrote:
> To clarify:
>
> I just need to get rid of the dialog box. Is this possible?
>
>
> Thanks
>
>
>
> "ghj" <ghj@ghj.com> wrote in message news:Ih4of.4736$tR6.1220@trndny09...
>
>
>
>
| |
|
| Is there any code example of how to do this. (suppress the dialog box, that
is)
I tried using this code:
oHTML = Newobject("HtmlListener","_reportlistener.vcx")
oHTML.targetFileName = lcOutputfile
oHtml.xsltParameters = CREATEOBJECT("Collection")
oHtml.xsltParameters.Add(6,"numberPrecision")
REPORT FORM myreport OBJECT oHtml
Thanks
"Jay B" <jayb@audiman.net> wrote in message
news:KEhof.36779$L7.34368@fe12.lga...[color=darkred]
> you need to subclass the reportlistener class and use it.
>
> ghj wrote:
| |
|
| Found it - nomodalmessages - thanks
"ghj" <ghj@ghj.com> wrote in message news:YZkof.5219$057.631@trndny07...
> Is there any code example of how to do this. (suppress the dialog box,
> that is)
>
> I tried using this code:
> oHTML = Newobject("HtmlListener","_reportlistener.vcx")
>
> oHTML.targetFileName = lcOutputfile
>
> oHtml.xsltParameters = CREATEOBJECT("Collection")
>
> oHtml.xsltParameters.Add(6,"numberPrecision")
>
> REPORT FORM myreport OBJECT oHtml
>
> Thanks
>
>
>
> "Jay B" <jayb@audiman.net> wrote in message
> news:KEhof.36779$L7.34368@fe12.lga...
>
|
|
|
|