In Inviewedit event, is it possible to get values for all columns instead only the column the user has clicked on.
regards Arshad
In Inviewedit event, is it possible to get values for all columns instead only the column the user has clicked on.
regards Arshad
Subject: Inviewedit event, try to get all column values
I’m just thinking and haven’t tried it myself but I guess from the Inviewedit event, you could:
get the Note ID of the document that was clicked on with Source.CaretNoteID, “Source” being NotesUIView
then get a handle to the document using NotesDatabase.GetDocumentByID
then get the column values with NotesDocument.ColumnValues
Hope that helps.
Subject: RE: Inviewedit event, try to get all column values
I can do as you suggest, and get at the multivalued field values (although columnvalues is not available for documents accessed via the database object), the problem is that I need to know which of the multivalued items the user has clicked on, so that I can operate on the appropriate element of the multivaled field.
i.e. If I have multivaled field called companies, whose values is
CompanyA
CompanyB
CompanyC
each of these will appear as separate rows in the view, if the users clicks on CompanyB, I need to work on the second element of the multivalued field. The Lotus Notes UIView object seems to have no means of identifying which of the row of the multivaled entries was clicked on.
Any ideas.
Regards Arshad
Subject: RE: Inviewedit event, try to get all column values
You can get the value from the InviewEdit variable “ColProgName”, which may well have the fieldname directly, or be deduceable from the formula.