>>>Hi,
>>>
>>>I am trying to stop user to go to another page when he has not filled in one of the text box in the current page. I wrote some code at the activate events of other page like if (textbox value) is empty, pgframe.page1.activate but it is not working.
>>>
>>>Can somebody give me idea ?
>>>
>>>Thanks in advance.
>>
>>I think we were achieving this functionality by using NODEFAULT in Page.Activate if it was not the last active page.
>
>Or couldnt he like...put the "stopping code" if textbox.empty in the button or whatever he is using to load the form.Most likely a button right?so deactivate the button till this.x has a vaule
Right, but it would not prevent switching to a new page and this was the main intent.
But I'm happy that you already started to help other people with your ideas!
If it's not broken, fix it until it is.
My Blog