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 6:27AM
    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 6:27AM
    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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.