` 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: Edit in place: Required fields
1999-08-02 -- Craig Ransom
 
> I want to check if the value a user has entered in the browse (EIP) is > right, and if so, then I want to fill in some other fields of my table. > This is tricky. Yes, the EIP control's TakeEvent is the proper method, but you have to put it AFTER the PARENT call; you have to PRECEED it with an "UPDATE(SELF.Feq)"; you DON'T use the Level:Benign/Notify/Fatal but the EditAction: equates instead; and you DON'T update the file field, but the BRW.Q field instead! For instance, from a test program, this checks for and disallows a blank field. This is AFTER the PARENT call. UPDATE(SELF.Feq) IF ReturnValue AND ReturnValue <> EditAction:Cancel THEN IF BRW1.Q.File1:Field1 = '' THEN MESSAGE('Field Cannot Be Blank','Field Error',ICON:Exclamation) ReturnValue = EditAction:None END END


Today is December 3, 2024, 11:53 am
This article has been viewed 35210 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: