Change name of report in the editor header while editor is open

Hi!

Before I start the editor, I set frxReport1.FileName := 'CurrentReportSomething' so it doesn't show 'unknown' in the editors window header. This works fine, but when I do a Save As, I would like to update it to the new name, but this cause a program crash.

Question is, can this be done while in the editor or do I do it the wrong way?

Thanks for any help!

Cheers,
Johan

Leave a Comment