Dear All,By using forms we created certificates in lotus notes.
The Problem is After entering the details of all fields(or) in middle time suddenly i am getting this Notes Error:Invalid or Non-Existent Document.When i click OK, that certificate is Disappears & Not at all saved in our database.
THIS ISSUE IS HAPPENS IN MY [TWO(OR) THREE PEOPLE] CLIENT SYSTEMS.Please suggest me how to sort out this issue.
Subject: Sometimes documents are not saving into lotus notes(Notes Error:Invalid or Non-Existent Document)
The problem is probably with your code. But you give so little information, the problem could also be with sun spots. You need to post a lot more detail to expect a useful answer.
Subject: RE: Sometimes documents are not saving into lotus notes(Notes Error:Invalid or Non-Existent Document)
Dear Carl Tyler,Thanks for your support.
There Is no code in the form,only in query save some code is there.That is related to Field Validation(Mandatory Fields)this error is occurred sometimes&only 2 or 3 people facing this problem.
Is there any use to delete the Cache.NDK file in Their systems,One of my friend Suggested like this.Please let me know.
Subject: RE: Sometimes documents are not saving into lotus notes(Notes Error:Invalid or Non-Existent Document)
Post taht code. But I am convinced that there is more code somewhere in the form.You could post an unencrypted copy of the database template somewhere (like Dropbox) and we can look at it.
Subject: RE: Sometimes documents are not saving into lotus notes(Notes Error:Invalid or Non-Existent Document)
Suppose coding side any problem we will get this issue regularly.i checked the entire code related forms,i thought our my code everything OK.This problem is happens not only one form,some times(rarely) occurring in different forms[creation time document].
Subject: RE: Sometimes documents are not saving into lotus notes(Notes Error:Invalid or Non-Existent Document)
It has to do with the code, it’s not an issue with Notes.Whoever created the forms did add some code somewhere.
I bet you that if you upload one of the databases somewhere, I will find it.
Talk to the developer who created the forms. SSince you have it in multiple places, perhaps some later developer simply copied forms from one place to another, without knowing what he/she did?
If you look in this forum, you have plenty of inexperienced programmers asking for code as they lack the skills to write it themselves. They then (most probably) just paste that code into their application, without fully understanding what it does and how it affecte the rest of the application.
In addition, many who ask for code here are very bad at explaining the context of the code, they just ask a short question to get something working, and without knowing more about the rest of the application, there is a risk that the code may not be the best solution, even if it does what’s asked for.
That is why it is a bad idea to assign development (on any platform/in any language, not just Notes) to someone who does not have experience with the tools/language. It may be tempting to find a developer who charges half or less compared with an experienced developer who knows all the details of (for example) Lotus Notes and Lotusscript. But it will probably take more than double the time, and not be as good code.