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

Wizards

edited July 2003 in End User
Somehow I broke the wizards in my end-user application I'm developing. The
wizard dialog will come up ok, but after finishing any wizard the report is
recreated as a blank report (Just like clicking New Report). I'm not seeing
what I did to cause that. Could somebody give me a place to start looking?
Tthankfully, wizards still work in the designer from an embedded report in
Delphi.

Jim

Comments

  • edited July 2003
    Are you registering a wizard replacement? What did you change that this
    problem started appearing? Is anything coded in the Report.Template.*
    events, ie. the OnNew event? Usually, the best thing to do is to start
    commenting out some event handlers for the end user solution until the
    problem goes away, then you'll know what code was causing the problem. Is
    Report.SaveAsTemplate set to true? Perhaps it is loading a report from
    tempalte that you aren't expecting it to, overwriting your wizard in you
    rconfiguration? Can you reproduce it using our end user demos at runtime?

    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited July 2003
    That was the main problem -- I noticed it happening after working on
    something else for a week.

    **sheepish grin**

    I overrode, then commented out, the designer's OnCreateReport event. Duh.
    Little bit of brain cramp after a vacation.

    Jim

This discussion has been closed.