I can't test the code out at the moment (no laptop), but in a If
statement as below:
Dim StrA As String, StrB As String
IF StrA = StrB Then
'code for true result
Else
'code for false result
End If
Does the If
statement check the strings in a binary or textual manner?
depends on settings
option compare text
is most common, I thinkThe comparison is usually textual, stra=STRA, but you can use StrComp:
http://office.microsoft.com/en-ie/access-help/strcomp-function-HA001228914.aspx