General information
Category:
Coding, syntax & commands
Thanks Todd (and Jaime) !
>>>>to check for a duplicate code, i tried using this.setfocus in a valid method, but it doesn't seem to work.
>>>>
>>>>if !tableupdate()
>>>> =messgebox('Duplicate code. Please reenter')
>>>> this.setfocus()
>>>>endif
>>>>
>Try return 0 ( a zero not an o)
>
>This avoids the invalid entry wait window and does not let the focus shift from the control, even if you try clearing the form.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only