我想做一個條件語句,基本上會說如果field1 + field2 =「string」然後做一些東西......我很確定我有東西的一部分權利,但我不認爲我有條件語句正確的...這是我VBA在訪問...如果那麼另外
txtTeam.Visible = True
If ([GuestFirstName] + [GuestLastName] = "Angela Cockrill") Then
[LifetimeTxt] = "Trips of a Lifetime!"
txtTeam.ForeColor = vbOrange
txtTeam.FontSize = 14
txtTeam.FontBold = True
Else
txtTeam.Visible = False
txtTeam.ForeColor = 0
End If