[Gambas-user] How to clear or recreate a report preview

Dave echo8hink at yahoo.com
Wed Nov 1 00:09:01 CET 2017


I have made report preview work with a different code under the button 
click event.

When I used just the following:

rptRecipe.Preview

I would get the same report all the time.

However, if I use the following (with $hReport as Report):

   $hReport = New RptRecipe
   $hReport.Preview()

I now get the correct "new" data results reflected in the report preview 
each time it is called.

Hopefully I used the correct way to get there.

Dave



More information about the User mailing list