
I don't have the answer handy but maybe check if the column history info is stored in a hidden table just like MVFs and Attachments are. If so, perhaps you can get the RTF from there. Just a thought...
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Is there a workaround to get the HTML-ish RFT from ColumnHistory() of a LongText field set with RichText format and AppendOnly versioning?
I'm not trying to defend AppendOnly vs better solutions. Or storing HTML-ish RTF in Access. Just asking if anybody knows a way to get the RTF versions. I've only been able to get the plain text versions using ColumnHistory() even though rs!myLongTextField.Value returns the HTML-ish RTF as expected.
Attachment and MultiValue fields provide usable ways to get the (quirk-ish, not DBMS Good Housekeeping Seal of Approval, internally FK), data with Set rsvals = rs!MVField.value and Set rsattachments = rs!AttachmentField.Value. If the AppendOnly versions have a similar method--even if undocumented--I haven't found it. (I did try Set rsvers = rs!RTF_Ver_LongText.Value but it didn't work.)
Thanks in advance for any thoughts on how to accomplish this!
I don't have the answer handy but maybe check if the column history info is stored in a hidden table just like MVFs and Attachments are. If so, perhaps you can get the RTF from there. Just a thought...
Okay, seeing the article again (thanks, Karl), I remember it now. If you can send me a sample db with RTF column history, I could try to see if I can pull them. Colin's sample in his article seems to be using plain text (or at least that's what it looks like), so I can't tell from that if the RTF tags are available or not.