Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21848

[RESOLVED] Run-time error '363' Object was unloaded

$
0
0
Hi

I want if rcount is 0 message should appear & form should get Unloaded . but it is giving me the above error.

Private Sub Form_Load()
If rcount = 0 Then
MsgBox "No Pending Transaction", vbOKOnly
Unload Me
Else
Centre Me
End If
End SUb

Thanks

Viewing all articles
Browse latest Browse all 21848

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>