Click to See Complete Forum and Search --> : Cancel unload


August 19th, 1999, 10:05 AM
This is probably a really easy question, but I need to know how to cancel the unloading of a form... in the unloading of a form it says
Private Sub form

freek
August 19th, 1999, 10:11 AM
just set the cancel to -1

private Sub Form_Unload(Cancel as Integer)
Cancel = -1
End Sub

August 19th, 1999, 10:21 AM
Thanx, that got it workin=)