Hi all
I'm making some modifications to page 342 (Check Availability). To make the story short I'm trying to add code to close page 342 under certain circumstances.
To test it I put the code below in the OnLookup trigger on a new field:
CurrPage.CLOSE;
But nothing happens if I press the value on the field. If I write the code below the message dialog appears but the page is not closed.
MESSAGE('TEST');
CurrPage.CLOSE;
So is it impossible to close this type of page by code?
Thanks!
AJ
0
Comments
[edit] okay I could have just easily checked the Page to see what it was :P Must be something to do with the Page type being ConfirmationDialog. I changed my custom Page from a List to a ConfirmationDialog and it won't open directly from the Object Designer now :S
I don't have any more time to play with it, but will see if I can try again next week. I'd suggest maybe seeing if there is any documentation/help on pages with type ConfirmationDialog to see if there is a reason why it won't work?
AJ