I have seen quite a few threads on this subject but nothing really clarifies exactly what needs to be done.

I have a dialog with a button, which outputs the current record to PDF, but i want the PDF to appear on a seperate page. I have seen some java from the 1.15 in examples, but i cannot seem to get this to work on my dialog page.

Can anyone explain how this can be done. Warning, I am not an xbasic or javascript guru. (which is probably why i am finding this so hard to achieve).