garybear
asked on
vb6 run time error 3426
I'm making a program and it was working fine untill I added a database and every time I try to run the program I get a run time 3426 message. Can some one help me with this.
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Runtime error '3426' means that the 'action was cancelled by an associated object'. I suspect in your case that the sequence of database commands may not be correct. Possible solutions are to add 'exception processing' to your code (e.g. Try/Except) or comment out the code near the database activity until the runtime error is 'isolated'. Then correct the sequence of events.
For example:
You might have methods such as 'Edit' and 'Update' out of sequence.
For example:
You might have methods such as 'Edit' and 'Update' out of sequence.
ASKER
Thanks alot you were right and I appreciate your help.
Thanks again
Gary
Thanks again
Gary
ASKER