K
Kees Witmans
Guest
Hallo Fellow Forummembers,
I want to register differences in two memofields. For instance I have a table texts with three fields: text1, text2 and TextDifference. Field text1 contains: "This is a text." and field text2 contains: "This is a text too." Now the function I want to make should deliver de value for TextDifference i.e. "too" in this case.
Now this is just a very silly example, but is there a VBA-function you can use to determine the difference between two memo-fields? I searched this forum for solutions and I found some interesting subjects but none of them solved the problem described above. Things like StrComp and Instr do not deliver a string value but a variant indicating that there is a difference but not what the difference is.
When this is solved the next step will be to compare changes in a field. This, in order to register changes made to a field. In the case a new value and an old value of a memofield need to be compared.
Thanks in advance for your efforts.
Kees
I want to register differences in two memofields. For instance I have a table texts with three fields: text1, text2 and TextDifference. Field text1 contains: "This is a text." and field text2 contains: "This is a text too." Now the function I want to make should deliver de value for TextDifference i.e. "too" in this case.
Now this is just a very silly example, but is there a VBA-function you can use to determine the difference between two memo-fields? I searched this forum for solutions and I found some interesting subjects but none of them solved the problem described above. Things like StrComp and Instr do not deliver a string value but a variant indicating that there is a difference but not what the difference is.
When this is solved the next step will be to compare changes in a field. This, in order to register changes made to a field. In the case a new value and an old value of a memofield need to be compared.
Thanks in advance for your efforts.
Kees