>I check in my grid's text lostfocus if the entered code is in the library, if it is there, i put the corresponding codename in the 2nd column.
>
>If it is not found, I want the cursor to go back to that column until he inputs a valid code. How can I do this?
If !YourCheckFunc()
return .F.
Endif