>Hello,
>
>There is a removeobject() and addobject() functions in one of page activate event, which I call from 2 different places. Everthing works well when I call the event from command button in the form but when I call the same page activate even from one of the option in the main menu the object will still exist after the removeobject(). Can anyone help with that??
>thank you
>sherry
what syntax are you using to call the activate event? Are you sure the code is running? IOW, can you put some test code in there to assure you that the REMOVEOBJECT is really happening?
If it is and the object is not being removed, open the debugger, put a watch on THISFORM, and drill down to see if the object still exists.
Erik Moore
Clientelligence