Save report question nd streams

Closing the report after it has been changed in the designer always leads to the Save to untitled.fr3 question. I save it in a stream and have nothing to do with the file-stuf. Engine.silentmode is true and the onsavefile event is triggered after the question. So how am I supposed to get rid of this untitled.fr3 question? It may ask but not for the file!

Comments

  • edited 11:06PM
    Looks like result := False in the onsave of the designer event combined with the filename 'Database' does the trick. The manual has no info at all on this point other than a non excisting reference!
  • edited 11:06PM
    no way you can do it good without extracting code from the savefile method in the designer to the usermethod. If you use the savefile method it doesn't call any of the default lines to save a file. So you must do all by yourself. There must come a new parameter in this function a var DoDefault: Boolean; If it is true the thing should do its default things otherwise not!

Leave a Comment