Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

DeviceType problem

edited September 2003 in End User
Hello :

I've made reports with the End-User Designer, and everything goes ok until
yestarday, when all the reports designed, have assigned the DeviceType =
"Printer" instead "Screen"

Do you know how can I change the DeviceType to "Screen" again?

Thank you

David

Comments

  • edited September 2003
    Hi David,

    The DeviceType property is saved in the report template. One way to change
    this is to load each report by hand and change it and save it back down. To
    do this assign the Report.Template.OnLoadEnd event handler and in that
    handler code the Report.DeviceType = dtScreen. That way every report you
    open will default to the screen device when you call Report.Print. The
    OnLoadEnd event is a public event so you'll have to assign it in code.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.