I have problem with the if statment

@slo2009_dev, your topic has been moved to a more suitable location on the forum.

In future, if you have a coding problem, please show your code (and use code tags for that as described in How to get the best out of this forum).

You can mark a topic as 'solved' by clicking the solution checkbox under the most useful reply; that way people who encounter the same problem know that there was a solution :wink: