Solved

How to retrieve view column contents in Java

Posted on 2006-11-27
3
238 Views
Last Modified: 2013-12-18
Hi,

I am now working with view and would like to retrieve the contents by column in the view. How to do this in Java?

      Column A    Column B   Column C
       Value 1A      Value 1B   Value 1C
       Value 2A      Value 2B   Value 2C
       Value 3A      Value 3B   Value 3C
       Value 4A      Value 4B   Value 4C
       Value 5A      Value 5B   Value 5C

In LotusScript we can use "myListView.Items(2).SubItem(0).Text" to get a spcific value. Is there anything like that in Java?

Many thanks.
0
Comment
Question by:davidw88
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 100 total points
ID: 18021089
The LotusScript code you gave looks strange to me... I assume you confuse it with JavaScript or so??

To get values from columns in a view, you need the ColumnValues property (in LS) or getColumnValues() in Java, but always applied to a document.

Do you have some code we could have a look at?
0
 

Author Comment

by:davidw88
ID: 18021184
Hi Sjef,

Thanks a lot for your prompt reply! getColumnValues()...this is what I need.


For the code in my question...maybe I made an error as I did not double-check my reference book. Anyway let it go as I have got your answer.

thanks agian and you have a super day!
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 18023645
Hey, you're welcome! ANd the same to you too!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

691 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