for i= 0 to n
open(w_1) //Some times opens two instances or more in
memory.
w_1.openuserobjectwithParm(iu,.....)
if isvalid(w_1) then close(w_1) //Closes all instances
but eventually the application crashes at this
point
next
for i= 0 to n
open(w_1) //Some times opens two instances more in
memory.
w_1.openuserobjectwithParm(iu,.....)
if isvalid(w_1) then close(w_1) //Closes all instances
but eventually the application crashes at this
point
next
<<
Take a look at Syntax 1 AND Syntax 2 of the Open() function and see which
one you actually want to use.
Syntax 1 will only EVER open one instance of the windowtype. Subsequent
calls will only activate the window.
Syntax 2 will allow mulitple instances to open and subsequent calls will
open additional instances.
steve
[TeamSybase]