Hi Klaus,
When you have a one-line IF statement you don't use EndIf. So simply:
Code:
If A = B Then myLabel
should do it.

/Henrik.