>Hi,
>
>I have a simple Form which contains a customer's general information. It works great, but if I remove the text control which is used to input the customer's country, and replace it with a combox drop down box which contains a list of all alowable entries for the country field (all valis countries are stored in a table country.dbf), my form will not close after selecting a country.
>
>I am coding in VFP 6.0.
>
>To close my form I have a command button. Once clicked it executes it followin code:
>
>ThisForm.Unload()
>ThisForm.Release()
>
>In the Unload event of the form, the following code gets executed:
>RELEASE ALL
>CLOSE TABLES ALL
>CLEAR EVENTS
>
>Does anyone see anything wrong with this?
>
>Thanks in advance!
This behavior is usually caused by an outstanding object reference. Do you have property or any other variable that holds a reference to the form of any object on the form?
Erik Moore
Clientelligence