The problem is getting the handle of the UIView. The problem is that if the view is not in the current workspace then how can you get the handle for the view and use ViewRefresh or ViewRebuild.
I have used another approach. What i do is, I open up the view and then as soon as the View Opens, i have put the code in the PostOpen.
– Send user a message to save everything in the excel sheet
– As soon as the save is done, then close the current view.
This is working fine but the only problem is that the view opens infront of the user and then closes. if i get the handle of the view then i dont need to open up the view. Any suggestions.
Regards,
Jawad Rana