Is it a bug?

edited 8:26AM in FastReport 4.0
Hi all,
in my program i save a report into a stream and all work well.
My problem comes when i load the report: every special char (Ex:
) is saved only as ";" then, when i load my report, it has ";" where there should be a special char..

excuse my poor english [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> see u, viper[/img]

Comments

  • edited October 2009
    Ok, my problem is on saving report to stream..
    I have:
    Template := TMemoryStream.Create;
    Template.Position := 0;
    Report.SaveToStream(Template);
    
    //only to see stream data
    Template.Seek(0,soFromBeginning);
    Template.SaveToFile('stream.xml');
    
    Xml in the stream doesn't have special char like "[&]#13;" or "[&]#10;" (without "[" and "]") but only the final ";".
    For example:
    XML
    ...ScriptText.Text="begin[&]#13;[&]#10;[&]#13;[&]#10;end."... //without "[" and "]" 
    STREAM
    ...ScriptText.Text="begin;;;;end."...
    
    When i load a report from stream, special chars are loaded as ";"
    This can be a problem in the script code and in the cross view fields list.

    Can anyone help me please? >
  • edited 8:26AM
    It isn't a bug!

    It's a problem inserting data in a sql database..
    It seems that some components cuts off "&#13", "&#10".. [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> I've tried using parameters but it doesn't work.. I use the TADQuery..[/img]

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.