` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Embed for additional form field validation
1998-07-11 -- Valentine Russev
 
>I have a form and I want to do some additional validations before I allow >the window to close and update the record. In ThisWindow.TakeCompleted, Priority 2800 try something like this: IF YourTestFailed IF YouWantToStayInTheForm RETURN Level:Benign ELSIF YouWantToCancelWithoutSave SELF.SetResponse(RequestCancelled) SELF.CancelAction = Cancel:Cancel RETURN Level:Benign ELSIF YouWantToSaveAnyway !Do Nothing END Steve Gallifant notes: My usual method is to embed the code in Accepted for the OK button (priority first) and then CYCLE to keep the OK from processing.


Today is May 4, 2024, 5:12 pm
This article has been viewed 35114 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: