Link to home
Start Free TrialLog in
Avatar of hank1
hank1

asked on

want Item not array of Item

NotesDocument.Items gives me an array of items.
Is there a way to get a a single Item?  I'm looking at
NotesDocument and don't see it.

I want a get a RoutTimes Item in a NotesDocument and
use NotesItem.DateTimeValue

thanks

(using ole interface)
Avatar of HemanthaKumar
HemanthaKumar

Use GetFirstItem(FieldName)...
For more details look into NotesItem object

~Hemanth
Avatar of hank1

ASKER

So you have to enum this?  No using the name to index?
notesitem.values will give the enumeration

The index of the item value will be from 0 (for single value) to number of elements



You can use notesdocument.fieldname(0)

Partha
Avatar of hank1

ASKER

LOTUS CONNECTORS
"Returns the field name for a specified column, given its ID (column number)"

How would using fieldname(0) get me a NotesItem?

I've got this feeling there's no hash that will get me this.

Thanks
What is lotus connectors doing here ?

What partha mentioned is another way to access the item value using extended class syntax.

Are you working in notes client or java or com ?
Avatar of hank1

ASKER

ole interface, 6.5
ASKER CERTIFIED SOLUTION
Avatar of HemanthaKumar
HemanthaKumar

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
Avatar of hank1

ASKER

So the answer is enumerate - so it can't be done.
Thanks
Never said that.. It can be done..

Post your code snippet so that I can get a better idea of what you are doing