|
-
Jun 24th, 2001, 06:34 AM
#1
Thread Starter
Addicted Member
unload within Form_Load event
I try to use Unload Me in Form_Load event.My algo. is in form load event I call function that its data type is boolean,that will return true of false value.If this function returns false I want to unload the form.
My code look like:
Private Sub Form_Load()
If Not PondClass.AddFinishCombo(cboID) Then Unload Me
End Sub
When the function return false value,error will occur.
How can I solve this problem?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|