` ABC Embed just before file action (Dennis Evans ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

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

Par2: ABC Embed just before file action
2000-05-04 -- Dennis Evans
 
> In an invoicing application, I have a form with a browse on it. >The form updates >the orderhdr file and the browse is for orderdtl. All works with orderdtl. >When the user >presses the ?OK button, i am checking certain conditions, and if they are >met, I want to >update the orderhdr record BEFORE the ABC methods save it. I have tried >several >different imbed points with no luck including after accepted in the OK >button and a legacy >imbed point - When completed, before writing to disk. (that one sure >sounded promising) Try after the FileManager ValidateRecord method, the validation methods are called just before insert, if all is well the record is added if not then the insert is cancelled. after the parent call, if (ReturnValue = Level:Benign) do something end


Today is November 21, 2024, 3:50 am
This article has been viewed 35208 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: