runtime error 3426

aplevel101
01-12-2004, 12:03 PM
hi, i have this problem and it is very annoying. when someone puts a special character into a textbox on a form (see attatchement) there is a runtime error.

here is my code:

Private Sub Command1_Click()
Data1.Recordset.AddNew
End Sub

Private Sub Command2_Click()
With Data1.Recordset
If MsgBox("Delete Record?", vbYesNo) = vbYes Then
.Delete
.MovePrevious
Else: MsgBox ("Record Not Deleted")
End If
End With
End Sub


Private Sub Form_Load()
Data1.DatabaseName = App.Path & "\MagicManagerDatabases.mdb"
Data1.RecordSource = "Tricks and Routines"
End Sub

aplevel101
01-12-2004, 12:06 PM
sorry for some reason i cannot add the attatchments. hmmmm let me see....

aplevel101
01-12-2004, 12:09 PM
here the attatchments are

aplevel101
01-12-2004, 01:12 PM
anyone?

aplevel101
01-14-2004, 11:34 AM
please can someone try to help me??

an5w3r
01-14-2004, 11:43 AM
Look at http://www.vbtutor.net/vbtutor.html lessons 19-22

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum