This is a bit tricky. A GET has both a VALID and an ACTION. The ACTION statement permits a lookup, and the valid then takes the value, checks the info in a file, and populates other fields.
To make the VALID work, there is a .T. at the end of events. For example VALID ( Step1(), Step2(), Step3(), .T. )
Of course it all works fine. So here is the problem:
I perform a lookup with the ACTION statement, and the value is returned to the GET field. The VALID executes and other fields are populated. HOWEVER, the cursor remains in the GET field. My clients sometimes start typing before moving the cursor to the next field. This causes errors.
When I do a lookup, and after the VALID does it's work, I want to jump to the next field automatically. Is there a command I can use to do this, and where would it be placed ?