General information
Category:
Forms & Form designer
Title:
Lastkey() = 27 in combobox
Hi all,
I am using If lastkey() = 27, return .T., endif in the combobox valid.
This works fine, however if the user hits cancel or escape and then the add or edit button, they can then click any field on the form and bypass the valid of the field where the cursor is positioned. This seems to be because lastkey() still equals 27.
How can I clear lastkey() ?
TIA
Chris
Next
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