G
Guest
I have created a Class module for the first time in Microsoft Access
It works fine and does all intended work from another form.
Now in the end I want to do the cleaning up
I am having problems Terminating the Class.
Set objFTP= Nothing' FROM the calling for
Private Sub Class_Terminate(
' Clear object variables and unload the form
Unload gsFTPForm '''*** how to unload /// ERROR her
Set objFTP = Nothing ' No problem her
Set FTPForm = Nothing '' This also hangs up the code /// ERROR her
End Su
Queston 1. If I do not use the Terminate class should it matter much?
By the way There is no problem in initializin
Private Sub Class_Initialize(
' Create a new instance of the form holding th
' Internet Transfer Control
Set FTPForm = New Form_frmFT
Set objFTP = FTPForm.ctlInternet.Objec
End Su
Thanks
It works fine and does all intended work from another form.
Now in the end I want to do the cleaning up
I am having problems Terminating the Class.
Set objFTP= Nothing' FROM the calling for
Private Sub Class_Terminate(
' Clear object variables and unload the form
Unload gsFTPForm '''*** how to unload /// ERROR her
Set objFTP = Nothing ' No problem her
Set FTPForm = Nothing '' This also hangs up the code /// ERROR her
End Su
Queston 1. If I do not use the Terminate class should it matter much?
By the way There is no problem in initializin
Private Sub Class_Initialize(
' Create a new instance of the form holding th
' Internet Transfer Control
Set FTPForm = New Form_frmFT
Set objFTP = FTPForm.ctlInternet.Objec
End Su
Thanks