?
Solved

How to retrieve view column contents in Java

Posted on 2006-11-27
3
Medium Priority
?
239 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 400 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

762 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