>>>I have a 1-page report run from a cursor which works fine from a form button. But when I try to run the report from a toolbar icon, it won't print anything from the cursor to paper, just header and labels. Also, the page is a bit off-center and has big toner smudges.
>>>
>>>Just to make things more interesting, Print Preview works fine from the toolbar.
>>>
>>>Any ideas?
Update:
I think the problem is related to the fact that I'm using a top-level form toolbar with SCREEN = OFF. I had to use a workaround to get it to show in the form to begin with, and now I'm using another workaround. The toolbar will only print correctly when clicked from page 1 of the form's pageframe, all higher pages won't work. So in the toolbar click I lockscreen, set focus to page 1, print, and return focus to previous active page. Works, but ??? why the problem...and why does the Print Preview always work? Big enigma...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.