Hi,
How about enclosing everything in ()
(CODE1="PK12H" Or CODE1="PK34H" )
If that doesn't work you ocould always try a Custom Action using some VBScript example below:
Make sure that you create a Property in the Property Manager called MOVEALONG. I would also set its value to No.
-----------------------------------------------------------------------
Option Explicit
Main()
Sub Main()
Dim sVar
sVar = Session.Property("CODE1")
If (sVar = "PK12H" OR sVar = "PK34H") Then
Session.Property("MOVEALONG") = "Yes"
Exit Sub
Else
MsgBox "Wrong Code, try again!"
End If
End Sub
-------------------------------------------------------------------------
Now in the Dialog Editor set the behavior on the next Button as follows
Event Argument Condition
DoAction CA Name 1
New Dialog NextDialog MOVEALONG = "Yes"
Good Luck
Kurt