I am using an update button in a form X.When i click that update button the form should close and return to a view called Y.Form X opens with right frame of Frameset “Z”.I am writing the following code
Call Uidoc.Close
Call Wks.OpenFrameSet(“MainFrameset”)
Call Wks.SetTargetFrame(“RightFrame”)
Call uidb.OpenView(“AMView”)
Call Wks.ViewRefresh
Its giving an error msg “Cannot close the current program”
How can i get handle of this situation??Pls help me…