We have 2 databases that must have corresponding tables. I have a report (In-Production) that compares these fields and displays them to the user in the MS-Access form (continuous form style) for correction.
This is all good and good, except that it is difficult to find differences. How can I format these fields to highlight the bold / italic / color differences?
"A little dog jumped over a brown fox."
"A little dog jumped over a brown fox."
(It's easier to see the differences between two familiar text fields when they are somehow highlighted)
"A little dog jumped over a brown fox."
"A little dog jumped onto a brown fox. "
Since we are talking about form in MS Access, I do not have much hope. But I know that I am not the first person to have this problem. Suggestions?
Edit
I went with Remou's solution. This is not my ideal solution, but it is "good enough", especially since I have no rich text options. In the query that creates the source table, I used space () to add trailing spaces to make both fields equal length. Then I added this code to the Click event of both fields (with TextA and TextB for another field):
Dim i As Integer
For i = 1 To Len(Me.TextA.Text)
If Right(Left(Me.TextA.Value, i), 1) <> _
Right(Left(Me.TextB.Value, i), 1) Then
Me.TextA.SelStart = i - 1
Me.TextA.SelLength = Len(Me.TextA.Text)
Exit For
End If
Next i
, , " " . , , . , .