Hello D.Peaseatlivingstone.qld.gov.au, When you use Remove Dialog statment all his Controls removes too!
Try this: Sub button_handler Dim CtrlId As Integer CtrlId TriggerControl()'save active control id Dialog Remove Do Case CtrlId Case 1 Note CtrlId + " You pressed the Seach Button" Call SearchDialog Case 2 Note CtrlId + " You pressed the Open Button" End Case End Sub -- Best regards, Vladimir Lashin microOLAP Technologies LLC mailto:[EMAIL PROTECTED] http://www.microolap.com/gis/ - GIS related products --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
