Thats what I thought, but thats not what is happening.
I call a form from one application,
edit USING frdrillmain1 at 1,1,780,560
then from that form, I need to recalc some variables, load a dummy table, then close the current form (frdrillmain1) and then reopen it so that it may edit the correct rows in the dummy table I issue:
... many lines of code that gather data, and insert into the dummy table then:
CLOSEWINDOW frdrillmain1
edit USING frdrillmain1 at 1,1,780,560
RETURN
and it stays open, but another instance of the form opens on top. Hit the button that calls that eep and it does it again.
?
At 09:10 AM 8/18/2004, you wrote:
At 08:35 AM 8/18/2004 -0400, Dan Champion wrote:
I am using 6.5++ for Windows, and having trouble with
the closewindow command.
I open a form, then in an eep, I issue the closewindow,
or closewindow formname, and nothing happens. Having
read the help files, I don't see any reason for it not
to work. What might I be missing?
Dan,
FYI:
CLOSEWINDOW command in an EEP will close the current form.
CLOSEWINDOW formname in an EEP will close the "alias" form
name, when used as MDI.
Also make sure to use RETURN after using the CLOSEWINDOW
command in an EEP.
Example 01:
CLOSEWINDOW
RETURN
Example 02:
CLOSEWINDOW alias
RETURN
To understand the use of CLOSEWINDOW command in an EEP,
take a look at the "HISTORY" sample database included
with R:BASE 6.5++ (Build:1.866xRT03) and higher.
C:\RBTI\RBWIN65\Samples\History
RUN History.DAT
Have fun!
Very Best R:egards,
Razzak.
Dan Champion
www.championsolutions.net
616-299-7420

