Hi, how do i add a field value from one document and then do a documentbykey collection from a view and then get the field values from those documents and then add the values together
For i have
p = unidoc.DivSPO
i then do
Dim teamview As NotesView
Set teamview = UnicornDb.GetView ( "AllLiveTeamsByDivV" )
Set team1doc = teamview.GetDocumentByKey ( Unidoc.DivCode(0) & "." & Unidoc.DivName(0))
While Not (team1doc Is Nothing)
'go through all documents in documentbykey collection and get values in the team1doc.TeaSPO field (which is a multi value field...save or store that value then go to the next team1doc and get team1doc.TeaSPO field
'
Set team1doc = teamview.GetNextDocument(dteam1doc)
' i want to finally end up with all those docs that match the key and whose value is team1doc.TeaSPO and add this to p
Wend
Your help would be greatly appreciated
Thanks
Nadeem Shaikh

Append Values from different fields... (Nadeem Shaikh 13.Jan.04)
. . 