How convert RTF to TxT

  • Zitat von franco.motta

    Hi !
    I need save text format in my database.


    myTable.FieldByName('MyMemo').AsString := wpRichText.AsString;

    after save, the format continue IN RTF, Why ?

    Thanks',
    Franco/Brasil


    Hi Franco,

    .AsString represents the value of the TWPRichText.. that in your case is RTF..

    You may change the TWPRichText.SaveTextFormat to ANSI.. so it will save the value as normal text....

    Take a look at the help file.. you may have another options too...

    Alessandro