[Gambas-user] Gb.Report2

Johny Provoost johny.provoost at ...27...
Sat Apr 4 18:51:00 CEST 2015



Op 04-04-15 om 17:58 schreef Frank:
> On 04.04.2015 17:49, Johny Provoost wrote:
>> Op 04-04-15 om 12:44 schreef Frank:
>>> Hello Everybody,
>>>
>>> I've seen that the new gb.report component uses now documentviewer as
>>> where I until now could use "report.preview()" it now fails. As I have
>>> made a few reports in my application I would appreciate a working method
>>> to produce a preview and where I can save this preview as .PDF (like I
>>> did sofar) As I amquit new to Gambas but still learning, I am now lost
>>> again a bit.
>>> btw, I have looked at the example of Fabien but is this more for
>>> excisting .PDF files or can I use this as well to generate for my reports?
>>>
>>> Kind regards,
>>>
>>> Swissgamba
>>>
>>>
>> Don't you have a second TAB (first is print, second is File) in the
>> preview window?  There you normally can Print the file as pdf.
> btw these are the lines:
>
> reportor = New Rptoffenerechnung
> reportor.preview()
>
> the error is: Error: Wanted picture, got function instead
> ------------------------------------------------------------------------------
>
>
Sorry, can't help you with that.  Think we have to wait for Fabian.
-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provoost at ...27... <mailto:johny.provoost at ...27...>*

*mailto: johny.provoost at ...626... <mailto:johny.provoost at ...626...>*

*Website:* *http://www.johnyprovoost.net* <http://www.johnyprovoost.net/>






More information about the User mailing list