Inkognito
01-15-2009, 02:29 AM
Hi there!:cool:
I am trying to use an If sentence to determine whether a combinationbox is "Bestilling" or "Bestilling_ut" and then set a variable to one of two values.
If Kombinasjonsboks11 = "Bestilling" then forlag = Landsetting
If Kombinasjonsboks11 = "Bestilling_ut" then forlag = Sjosetting
But this isn't working, 'forlag' isn't set to anything at all.:(
I have tried different approaches, using a text field instead of a variable and spreading the if sentence on several lines with endif etc, but nothing seem to be working.:confused:
I really need this to finish my form.
Any help?
I am trying to use an If sentence to determine whether a combinationbox is "Bestilling" or "Bestilling_ut" and then set a variable to one of two values.
If Kombinasjonsboks11 = "Bestilling" then forlag = Landsetting
If Kombinasjonsboks11 = "Bestilling_ut" then forlag = Sjosetting
But this isn't working, 'forlag' isn't set to anything at all.:(
I have tried different approaches, using a text field instead of a variable and spreading the if sentence on several lines with endif etc, but nothing seem to be working.:confused:
I really need this to finish my form.
Any help?