General information
Category:
Forms & Form designer
>Put a command to check the cust_no in the database on lost focus event of the control and prompt a message if not unique.
Thanks Marc. I tried that with the following code in the Lost Focus event:
seek this.value
if foun()
retu .f.
else
retu .t.
endi
And I entered a cust_no that's already in use and got the same message: "Uniquness of index CUST_NO is violated."
This really oughta be simple. In fact, I'm sure it IS for all of you. :) I just don't know what I'm not seeing here...
Previous
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