Updating a group with LS (simple question)

I would like to add a value to a specific group in the Notes address book using Lotusscript. Is AppendItemValue the best method to do this through script? Also how do i specify which group I wish to update? I can get hold of the groups view by using the Notesview class but how can I specify which group I wish to update?

Subject: Updating a group with LS (simple question)

You need to open the N/A book in script, then set the lookup view to “($VIMGroups)”, set a ‘group document’ to pick up the group using the group name as key which is ‘Listname’ in the first column of the view. Then just update the field, ie Set groupdoc = groupview.GetDocumentByKey(“group name”)

groupdoc.FieldName = “new value”

Call groupdoc.Save(true, false)

etc

Dave