Visual Basic 6 Else without if block

Joined
Jul 27, 2010
Messages
2
Reaction score
0
I think im in the right place... i got this code

If Text1.Text = "" Then Detail_Error
Else
Adodc1.Recordset.MoveNext
Answer = MsgBox("Details have been Added Succesfully", vbInformation + vbOKCancel, "Customer Added")
End If

and yet it comes up with error "Else without if block"... why is this?
if u need more code i can get it
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top