I have a form ‘basic’ with a tabpanel and in there a form ‘extended’ with a listview.
The shown records on form ‘extended’ are selected with a find/search method.
Now when I want to print the ‘extended’ records I want to do that via a printpreview directly from the ‘basic’ form.
a forms.printform.showPrintPreview(foundset) doesn’t work.
I have to do (and that is also according to the manual)
- forms.printform.showRecords(foundset);
- forms.printform.showPrintPreview();
- forms.basic.form.show();
Without line 3 in the method and, pressing the close button, I go me back to the ‘printform’ instead of the ‘basic’ form.
With line 3 I can’t close the window…
Is this a bug or am I doing something wrong here?
BTW when I do a direct print with
- forms.printform.print(false, true);
It works like expected…