Hold that thought...
I will do a bit of testing and get back to you on this. I have to
put the if-then in the startup eep.
Dan
At 11:30 AM 2/17/2010, you wrote:
Ok,
Yes, Rbase Dat calls up the form:
set up some vars...
edit using nextelshuttle
exit
Nextelshuttle form timer does the 15 minutes, and calls an internal eep
That eep,
does :
Closewindow
run nextelshuttle.dan
return
The nextelshuttle.dan
does lots of database stuff, and then
edit using nextelshuttle
The closewindow does not close the window, but a second form is
generated (and third and so on for each loop)
If you close the latest loop, all forms close.
No memory is released till all forms close.
What am I missing?
Dan
At 11:00 AM 2/17/2010, you wrote:
Somewhere you have a program that calls up your form, maybe RBase.dat
or something else. Do the following (or something like it
depending on how your
system works):
your program:
LABEL formagain
SET VAR vExit TEXT = NULL
EDIT USING nextelshuttle
IF vExit = 'yes' THEN
EXIT
RETURN
ELSE
GOTO formagain
ENDIF
RETURN
In your Nextelshuttle form:
You would have a button to exit the form totally; that form's eep
code would be:
SET VAR vExit = 'yes'
CLOSEWINDOW
RETURN
And somewhere there's code that does the 15 minute timer. In that code when
you've reached the 15 minutes, the eep code would just have:
CLOSEWINDOW
RETURN
or you can use the pre-defined "exit" action.
Important: you need the "return" even if you just have closewindow on there.
Karen
So, now that we have surmised that my memory issue is the use of
IE, I am trying to find a way to have the program close and reopen
the form each loop through.
Closewindow doesn't seem to be my answer. Anyone have any good ideas?
Problem:
I run an instance of R:base that opens just one form 'edit using
nextelshuttle'
The form has two objects, a clock and a web object that displays a
city map with all our technicians on it.
that form has a 6 minute timer to run an eep that refreshes data,
imports info to the database, after the eep, the web refreshes. (this
is where the memory loss is)
I was hoping a closewindow would work, but I cannot make it close the
form and restart a new form. I suspect though that I would need to
close that whole instance of R:base to free up the memory.
Thoughts?