` Printed Icetips Article

Icetips Article



ABC: Updating multiple files when closing form
1998-12-30 -- Jim Kane
 
Newsgroups: comp.lang.clarion

> Click on the properties for you OK button, and in the ACCEPT embed just
> write your code in. Then you get to do the same for Control_Enter...

May not be such a good idea.  Consider the case where after you press OK
and save to the other file, the code then enters the non-stop select mode
to check all fields and finds one that doesnt validate.  You would only
add to the 2nd file and not the primary file. Probably a better abc
approach is in TakeCompleted, after the call to parent, if no error is
returned, then save to another file.  The optimum solution is hand coding
a logout.

---
Jim Kane  - TeamTopSpeed



Printed November 21, 2024, 7:10 am
This article has been viewed/printed 35385 times.
Google search has resulted in 7 hits on this article since January 25, 2004.