//--------------------------------
this.prototype.checkForDoc = function(strSubject) {
//--------------------------------
try {
var doc:NotesDocument=subjectView.getDocumentByKey(strSubject,true);
if(doc==null){
return false;
}else{
return true;
}
} catch (e) {
print (e);
}
}
1: //--------------------------------
2: this.prototype.checkForDoc = function(strSubject) {
3: //--------------------------------
4: try {
5:
6: var $name="fred"; //Testing dollar sign
7: var doc:NotesDocument=subjectView.getDocumentByKey(strSubject,true);
8: if(doc==null){
9: return false;
10: }else{
11: return true;
12: }
13:
14: } catch (e) {
15: print (e);
16: }
17: }
1: //--------------------------------
2: this.prototype.checkForDoc = function(strSubject) {
3: //--------------------------------
4: try {
5:
6: var doc:NotesDocument=subjectView.getDocumentByKey(strSubject,true);
7: if(doc==null){
8: return false;
9: }else{
10: return true;
11: }
12:
13: } catch (e) {
14: print (e);
15: }
16: }