What command I can use so that if txtSearch in frmSearch not equal to Seq_Number in frmActionPlan then frmActionPlan will not open up....Below is what i tried but doesnt work.
If Me.txtSearch = Forms!frmActionPlan!Seq_Number Then
DoCmd.OpenForm "frmActionPlan", , , "Seq_Number =...