|
-
Jan 23rd, 2000, 12:21 PM
#1
Thread Starter
Member
Does anyone know what this means and how do correct this? Is this major? I mean will ihave to redo all the coding ive done allready
-
Jan 24th, 2000, 02:03 AM
#2
New Member
Usualy, this error occur when you are in a middle of editing record and try to read it again or edit it again. Check if the editmode property <> 0 before you have got this error.
Gil
-
Jan 24th, 2000, 07:58 AM
#3
Addicted Member
i quite agree with gil,
do you use begintrans/committrans/rollback?
if you do, this could be the source of the problem, look out for refresh methods of recordsets, as this implicitly does a rollback
-
Jan 24th, 2000, 08:55 AM
#4
Junior Member
Hi,
This 3426 has been the bain of three projects of mine as well. I must have written my code oddly for all three to give me the error. Oddly enough though, I have at least 15 other forms that run fine using AddNew, Edit, Delete, Update methods of a data control (any of these lines ten to causes the error).
One of the regulars here, offered to have a look at my code and see if he could spot the problem, but he hasn't let me know if he found the problem yet. He suggested not using a data control so I have rewritten the code to perform the AddNew, Edit and Delete in SQL.
I have checked all the field names in the DB and search on the Net for answers, tried the EditMode test, checked for Nulls, and tested for bad field names and data types.
I would hope that he does find the error, just so I know what it was.
It appears that multiple circumstances cause the error and as yet there is no one definite cause to blame.
Good luck and get into that SQL.
Cheer Dave
-
Jan 24th, 2000, 10:06 AM
#5
Thread Starter
Member
sql? I am not familiar with sql can one of you help me with this? Thank you im not use to sql so if one could tutor me a little using it in vb that would be great thanks
-
Jan 24th, 2000, 12:07 PM
#6
Thread Starter
Member
Ok guys i have gotten past the application error now i am having one more error it is 3058 index or primary key cannot contain a null value..... I know logically what this means but there isnt a null value its adding the data from the labels to the new database... do any of you have any ideas?
-
Jan 24th, 2000, 12:08 PM
#7
I did an "all open forums" search for "3426" and found a half a dozen posts. It seems to have something to do with null values. Maybe if you take a look at the responses you'll get some hints.
------------------
Marty
Can you buy an entire chess set in a pawn shop?
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
|