Using Help in 9.5 64, there is the following description:
Use the EXITFORM command to exit the current form currently being edited or
entered in R:BASE for DOS.
Under Windows this is equivilant to the CLOSEWINDOW command.
The only thing where you have to pay attention to is that closewindow
without an alias will close the current form
If you like to close a specific (not current form) you have to mention the
alias
f.i.
edit using Customer mdi as customer_mdi
To close it, use:
Closewindow customer_mdi
Then the form will close even it is not the current form
There is also a command available to check if a form is available
(IFWINDOW('windowname'))
It's very powerful but it also can surprise you, I have discovered.
Tony
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Stephen
Markson
Sent: dinsdag 17 september 2013 21:30
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: sort scrolling region
According to help, under Windows , both commands are equivalent and only
EXITFORM is listed as an eep-specific command.
Regards,
Stephen Markson
The Pharmacy Examining Board of Canada
416.979.2431 x251
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Tony IJntema
Sent: September-17-13 2:34 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: sort scrolling region
Closewindow is only available when MDI is used Exitform is DOS and not
available anymore as far as I know
Tony
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Stephen
Markson
Sent: dinsdag 17 september 2013 20:21
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: sort scrolling region
Hi list,
I've answered my own question. My form is a single table form, so I can use
the following as my button eep:
EXITFORM
EDIT USING formname ORDER BY othercolumn RETURN
An interesting point: EXITFORM (or CLOSEWINDOW) does not actually close the
form window. If I move the newly sorted form, the old form is visible
although it cannot be accessed. Repeatedly pressing the re-sort button and
moving the form leaves all of the forms visible. Then when you actually do
exit the form, they all disappear.
Regards,
Stephen Markson
The Pharmacy Examining Board of Canada
416.979.2431 x251
From: [email protected] [mailto:[email protected]] On Behalf Of Stephen
Markson
Sent: September-13-13 5:14 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - sort scrolling region
Hello,
Can I dynamically change (i.e. using a button on the form) the sort order of
a table in a scrolling region? Or do I need to use a DB Grid? Thanks for
your help.
Regards,
Stephen Markson
The Pharmacy Examining Board of Canada
416.979.2431 x251