Subject Re: Preview.wfm and report printing
From trevor <bob@bob.com>
Date Mon, 30 Oct 2023 13:15:01 -0400
Newsgroups dbase.getting-started

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