A simple VO Iteration of Rows using While loop in OAF


 

A very simple method to  Iterate VO using While Loop.

 

OAViewObject eVO=am.findViewObject(“xxSuppSumVO”);

eVO.first();
while(eVO.hasNext())
{
System.out.println(“Attributes ————————————> “+eVO.getCurrentRow().getAttribute(0)+eVO.getCurrentRow().getAttribute(1)+eVO.getCurrentRow().getAttribute(2));
eVO.next();
}

About pacesettergraam

A good and realistic person

Posted on May 20, 2014, in OAF, Oracle and tagged , , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: