Hi,
if I understand your situation correctly, you need the opposite condition in your IF - you should exit routine while in “accept all” mode, i.e.: IF Window{PROP:AcceptAll} = 1 THEN EXIT .
Hi yes perfect thanks.
Sorry my post was not clear…i was rushing!
The funny thing was the test message I had in there to trap the code was before the accept all code.
So this was why I thought it was not working… as my debug message was in the wrong place !
You can use Zero or TARGET for the current window so that the same code will work if the Window is named QuickWindow by a wizard. The Window is FEQ Zero which is also the value of TARGET. You also do not need the " =1 " to test for True. Either of these two will work:
IF 0{PROP:AcceptAll} THEN EXIT.
IF TARGET{PROP:AcceptAll} THEN EXIT.