>Minds gone blank! How do I refresh my main form when I close my other form?
>
>Many thanks
'pends how you close the form.
By physically cloing it? - in the Unload event you can have code to refresh the other form,
as in: loMainForm.Refresh(), assuming the other form was invoked with an object name, as in:
Do form MainForm NAME loMainForm.
If the closing form was called from the main form, then, assuming the 2nd form is modal, directly after the invokation to it you can have Thisform.refresh(), as this is the next bit of code to be run after the other form.
Clear as mud?
Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.