|
-
Sep 26th, 2003, 09:41 AM
#1
Thread Starter
New Member
Error on Adding Entry
my add was functioning properly when after sometime, it started to have this error. it says
"This Event was cancelled by an associated object"
i dont know what triggered this but i tried to search for it and i think i have not put somthing on my code to make this error happen.
here is my code:
On Error GoTo adderr
Data1.Recordset.AddNew
save.Enabled = True
cmdsave.Enabled = True
txtln.SetFocus
Exit Sub
adderr:
MsgBox Err.Description
^ ^ i can see nothing wrong with it.
can you share me the possibilities which may have caused the error?
this also comes out when i move to another record.
what could be wrong?
thank you. please be patient with me. i am just starting with vB.
thanks!
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
|