>>Hi all,
>>
>>Before exiting a VFP form, I need some code to execute, to update certain parameters through the command 'thisform.cmdUpdate.click'. Could anyone tell me how this is triggered a VFP form? (Which event, and how)
>>
>>Thanks in advance.
>>
>>Regards,
>>
>>Steve
>
>You may call your code from QueryUnload. It happens before you release the form (either by button or by close in the upper corner). So you may need to call your methods from this method.
QueryUnload() did not happens if you have thisform.Release() somewhere in the form.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.