Link to home
Start Free TrialLog in
Avatar of Neal Hartman
Neal HartmanFlag for United States of America

asked on

NotesSQL

I am trying to use NotesSQL to read a multivalue field. NotesSQL, using VB and ADO, only returns the first value. I need to read all the values.
Avatar of HemanthaKumar
HemanthaKumar

Assign the field value to a variant and then use forall to extract the multivalues.


like this

dim values as variant

set itm = doc.GetFirstItem( "Multivalue" )
values = item.Values

forall v in values

End forall

~Hemanth

A typo, replace item with itm

Avatar of Neal Hartman

ASKER

I'll try it out. How do you append or delete an individual
value. is this handled like a collection?

One of is confused. I'm using NotesSQL and ADO though VB. Where do you get the object "doc".
ASKER CERTIFIED SOLUTION
Avatar of zvonko
zvonko

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you, not what I was hoping for but answers the question.
Sorry :-)

Thank you for the points.