IF SEEK(ALLTRIM(thisform.combo1.Text), "a_arcadr", "cshipno")BTW, GO TOP is unnecessary because SEEK always starts from the top.
>SELECT a_arcadr >GOTO top >SEEK (ALLTRIM(thisform.combo1.Text)) ORDER cshipno >IF FOUND() > > thisform.scompany.Value = company > thisform.saddress1.Value = saddress1 > thisform.saddress2.Value = saddress2 > thisform.scity.Value = scity > thisform.sstate.Value = sstate > thisform.szip.Value = szip >ELSE > WAIT WINDOW "customer address not found" >ENDIF