I have a DBRadioGroup (Public Employee o Yes o No) on my form. By definition, this is tied to the dataset query. I have an OnChangeEvent for the DBRadioGroup (if it's yes then make a TabSheet visible, otherwise leave it hidden). However when I press the OK button to exit the form and try to close the query, it runs the OnChangeEvent and the program crashes because there's nothing in the DBRadioGroup any more (the error is array index out of bounds). Anyone have an idea on what I need to do to close my query without triggering the OnChangeEvent?
Thanks!
Leslie
landrews@metrocourt.state.nm.us
There are 10 types of people in the world -
those who understand binary
and
those who don't!
Thanks!
Leslie
landrews@metrocourt.state.nm.us
There are 10 types of people in the world -
those who understand binary
and
those who don't!