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:
Back
Top