I have this IF statement:
If intLengthOfStrStartTimestamp = 27 & intPositionOfDecimalPoint = 20 Then
strStartTimestamp = Left(strStartTimestamp, 19)
End If
This statement is failing to be true, even though the values of each of those variables are correctly 27 and 20.
I then put this into the immediate window:
?intLengthOfStrStartTimestamp = 27 & intPositionOfDecimalPoint = 20
False
?intLengthOfStrStartTimestamp = 27
True
?intPositionOfDecimalPoint = 20
True
What is going on? Is it just not possible to put multiple conditions into a single IF statement in Access VBA?
1