I do not get this error at all while debugging in version 5. When I'm debugging in version 6.5 and go to view my variable "V" is when it bombs.
Is there a particular reason why this is happening in 6.5 but not in 5?
Sub Querysave(Source As Notesuidocument, Continue As Variant) Dim s As New NotesSession Dim db As NotesDatabase Dim doc As NotesDocument Dim configdoc As NotesDocument Dim v As NotesView Dim column As Variant Dim cell As Variant Dim Red As Variant Dim Green As Variant 'Set items Set db=s.CurrentDatabase Set v=db.GetView("ConFig") Set configdoc=v.GetFirstDocument Do Until configdoc Is Nothing Set cell=configdoc.GetFirstItem("scorecardFldName") Set configdoc = v.GetNextDocument(configdoc)
The other issue may be that you have multiple versions of Notes running on the same client PC and the R6.5 version is accessing some R5 programs because of the way the versions were installed.
Another option might be to make a small change to the code with the R6.5 client and then save it so it is recompiled in version 6.5.
Do you have comments on this Ask the Expert question and response? Let us know.
Dig Deeper on Lotus Notes Domino Application Development
Related Q&A from Brian Mahoney
Find out what types of calculations can be computed for a column in a Lotus Notes view and the best way to go about it with this expert response. Continue Reading
Find out why you can't use Formula language to include a doclink to a specific Lotus Notes view or database and need to use LotusScript instead. Continue Reading
Discover the reasons behind a Notes/Domino admistrator having trouble with disabled options in the "customize this view" section of his Lotus Notes ... Continue Reading