Hi all,

I've got a form with a bunch of push buttons on it.  Each push button
runs a small file that
adds, modifies, or deletes rows from a different table.  I want to be
able to display some
kind of indication on the form (that would change) depending on what the
user did after pushing
the push button.  For example, if the user deleted all of the rows in
the table, then a check box
could be unchecked.  If the user left any rows at all in the table, then
a check box could be
checked.  Now here is the problem.....the check box won't change until
after I have exited and
reenterd the form.  But I can't do that from within the code activated
by the push button---some
evil error message says that is illegal from within an EEP (are files
run by push buttons considered
EEPs?).  But I also can't use SCREEN RESTORE OFF, cuz that only works
within EEPs.  ARGH!

The only way I found to make it work is to have the push button command
file end with
EDIT USING formname.....but it get's ugly when you try to leave (all the
previous uses of the
form are still open, albeit hidden) and they each have to get
closed....and eats memory).

So.......how do smart Rbase users do this? AND does this have anything
to do with SET FOCUS,
or MDI (can anybody give me an example of how and when to use SET FOCUS
and MDI??)

TIA!

Mike Sinclair

Reply via email to