Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Extract from list
Extract from list [message #1015626] Fri, 01 March 2013 12:48 Go to next message
Alan Farroll is currently offline Alan FarrollFriend
Messages: 60
Registered: June 2012
Member
Hi all,

This may seem quite simple but I just can't get it working.

There is a line of code below that after using a SQL statement interrogates the database and returns one specific result.

List result = query.list();

The result value above is as follows;

[{createdOn=10/15/12, path=//PATHTODOCS/docs, guid=AAAAGUIDE55411E1A5F4005056A55DBA, author=authorsname , folderName=A2772E, receivedOn=Aug 13 2012 12:00AM}]

In debugging the result looks like the attached file, and I need to extract the "receivedOn" value. How do I do this please.

Thanks in advance

AJFarroll
Re: Extract from list [message #1015651 is a reply to message #1015626] Fri, 01 March 2013 14:25 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 03/01/2013 05:48 AM, Alan Farroll wrote:
> Hi all,
>
> This may seem quite simple but I just can't get it working.
>
> There is a line of code below that after using a SQL statement interrogates the database and returns one specific result.
>
> List result = query.list();
>
> The result value above is as follows;
>
> [{createdOn=10/15/12, path=//PATHTODOCS/docs, guid=AAAAGUIDE55411E1A5F4005056A55DBA, author=authorsname , folderName=A2772E, receivedOn=Aug 13 2012 12:00AM}]
>
> In debugging the result looks like the attached file, and I need to extract the "receivedOn" value. How do I do this please.
>
> Thanks in advance
>
> AJFarroll
>

If this is a question about Eclipse data tools, I suggest that forum
(clipse.dtp) rather than this one.
Previous Topic:Java
Next Topic:Question: How to Speed Up An Compression Application
Goto Forum:
  


Current Time: Thu Apr 25 13:49:31 GMT 2024

Powered by FUDForum. Page generated in 0.09113 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top