Error 4507 - First finish insert?

OK, I don’t even know where to start… This is the first of this error I’ve seen in my 10+ years. The only thing I can find out about it is that it must deal with rich-text fields.

For my web app, I have Lotusscript code that runs when a user submits a form. That code does some processing and calls a subroutine within the agent. That subroutine grabs a different document from the site to update. It finds that documents and updates it and adds a line to the rich-text field.

Out of the blue and without the user doing anything hokey, I received the following error:

ERROR in funcAddPart: Error: First finish insert, Err:4507, Erl:179

OK, “funcAddPart” is the name of a function and in this case, the function that was called. You’ll notice the error occurred on line 179 in that subroutine. Well, there are only 96 lines of code in that subroutine. ???

I’ve not been able to find ANYTHING about this error except this:

const long NOTES_ERR_RT_FIRSTFINISHINSERT = 4507;

Can anybody shed some light on this? Yes, I do set the beginning of an insert to update a rich-text field and that’s been functional for a month or so and now this error - but only intermittently…

???

Please help,

Debbie

Subject: Can you post the code?

For the function at least, and ideally for the calling function, along with some explanation of any variables passed to the function (example parameters would be good). Are there any loops involved? Just from the sound of the error, it seems like a begin insert is called, and perhaps another one is attempted before the end statement. We really need to see what you have and take it from there.