   VB: Data updating when the frame is closed
  I have a problem in visual basic(regular VB. not .NET). It seems that when the frame is closed by the used while the Data component is in edit mode, the update method of it's recordset is called before the form_unload event is provoked. That means that my program doesn't get the change to check the data the user entered in the text fields, and bad data might enter my database.Is there any way I can solve this?   
  Never Mind. I already got help from another forum. Solved it with Form_QueryUnload.   