Solved

NotesSQL

Posted on 2002-03-11
7
293 Views
Last Modified: 2013-12-18
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.
0
Comment
Question by:Neal Hartman
  • 3
  • 2
  • 2
7 Comments
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 6855678
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

0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 6855680
A typo, replace item with itm

0
 
LVL 1

Author Comment

by:Neal Hartman
ID: 6856508
I'll try it out. How do you append or delete an individual
value. is this handled like a collection?

0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 1

Author Comment

by:Neal Hartman
ID: 6856623
One of is confused. I'm using NotesSQL and ADO though VB. Where do you get the object "doc".
0
 
LVL 10

Accepted Solution

by:
zvonko earned 200 total points
ID: 6857945
0
 
LVL 1

Author Comment

by:Neal Hartman
ID: 6858007
Thank you, not what I was hoping for but answers the question.
0
 
LVL 10

Expert Comment

by:zvonko
ID: 6858015
Sorry :-)

Thank you for the points.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now