` Printed Icetips Article

Icetips Article



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



Printed May 12, 2024, 8:29 pm
This article has been viewed/printed 35122 times.