Below is my code, it returns record similiar its not exact. How do i make my results exact. EX. If I put in 301.13-1-33 it will give me 301.13-1-3 and due to my not having a record select this will not be acceptable.
LOCAL cValue
STORE ALLTRIM(ThisForm.Text1.Value) to cValue
LOCATE FOR cValue = ALLTRIM(parcelid)
GOTO TOP
IF !FOUND()
GO TOP
LOCATE FOR cValue = ALLTRIM(newkey)
IF !FOUND()
MESSAGEBOX("Tax Map # Not Found","Sorry"
STORE "" TO ThisForm.Text1.Value
ENDIF
ENDIF
ThisForm.Text2.Value = parcelid
ThisForm.Text3.Value = newkey
THISFORM.REFRESH()
LOCAL cValue
STORE ALLTRIM(ThisForm.Text1.Value) to cValue
LOCATE FOR cValue = ALLTRIM(parcelid)
GOTO TOP
IF !FOUND()
GO TOP
LOCATE FOR cValue = ALLTRIM(newkey)
IF !FOUND()
MESSAGEBOX("Tax Map # Not Found","Sorry"
STORE "" TO ThisForm.Text1.Value
ENDIF
ENDIF
ThisForm.Text2.Value = parcelid
ThisForm.Text3.Value = newkey
THISFORM.REFRESH()