Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This.setfocus in valid method
Message
From
26/11/1996 19:19:08
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00013655
Message ID:
00013659
Views:
36
>yes, but message "invalid entry" appears and not a kinder message "Duplicate code. Please Reenter"

Do you have RI? Basically, you should be able to do something like this.
if !tableupdate()
   =messgebox('Duplicate code. Please reenter')
   RETURN .F.
endif
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform