How to save RichTextBox content in Access2010

前端 未结 2 908
青春惊慌失措
青春惊慌失措 2021-01-23 13:57

I\'m creating a dictionary system, where words meaning is editable in RichTextBox (for user define FontSize, Color, etc...)

So how to can I save meaning

2条回答
  •  滥情空心
    2021-01-23 14:44

    You can just use the "Memo" field type if you're in Access 2007 or newer. Setting the TextFormat property to RichText will allow for RTF.

    To edit it, just use a text box with the appropriate field set as its control source.

    To read it via code, access the .Value property. You can also insert formatting tags (e.g. ) this way if you'd like.

提交回复
热议问题