Good Afternoon,
I keep getting an error message after I run this code in my querysave:
Too many keys
I have my view Duplicate Checker set up as 3 columns and I am searching for the matches docStatus, docStart, and docData. I thought it was how i defined my array 0 to 2, but then I switched it to 1 to 3 and still got the same error message. Still new to LotusScript, any help would be appreciated.
Dim docStatus As String
Dim docStart As String
Dim docData As String
docStatus = uidoc.FieldGetText
("DutyStat")
docStart = uidoc.FieldGetText
("InspDate")
docData = uidoc.FieldGetText("TrprNum")
Dim dc As NotesViewEntryCollection
Dim Key(0 To 2) As Variant
Key(0) = docStatus
Key(1) = docData
Key(2) = docStart
Set view = db.GetView
("DuplicateChecker")
Set dc = view.GetAllEntriesByKey(Key,
True)