Subject Re: Preview.wfm and report printing
From Mervyn Bick <invalid@invalid.invalid>
Date Mon, 30 Oct 2023 19:57:38 +0200
Newsgroups dbase.getting-started

On 2023/10/30 19:15, trevor wrote:
> Mervyn ,
>
> Both of your assumption are correct and  parameters added, clicking on
> report only works.
>
> I should have typed Pushbutton4_onclick1 in my message which is what I
> have on  my form correctly.
>
> Using newest preview.wfm but copied to my forms working directory so
> set procedure to Preview.wfm
>   ---not useing set procedure to :duflp:preview.wfm
>
> Preview  seems to be available as I can open preview if no onOpen
> event.Also that is how I have used previous versions.
>
> I have used all your suggested coding.
>
>
> I have checked several times for typos and can find none, those in my
> messages are down to lazyness :)
>
> Also as I have said I tried the onOpen event and pushbutton Onclick
> form.oPreview.open() with another simple no parameters report and get
> same error.
>
> Perplexed but grateful for your help.
>
> Trevor

We're  set for a 2hour power outage in 4 minutes so I'm afraid this will
  have to wait until tomorrow.

Mervyn.