How do you retrieve a value from scroll..scroll select?

Showing Answers 1 - 14 of 14 Answers

oraclef

  • Jul 21st, 2005
 

getLevel0().get(1).getRowSet("record name of the record assosiated with scroll record"). 
 
I am not sure about this but it looks something like this, I am just giving you guys an idea. Don't take this for granted as I have not tested it.

  Was this answer useful?  Yes

satya

  • Aug 30th, 2005
 

&var = GetLevel0()(1).GetRowset(Scroll.); 
 
&var1 = &var.GetRow(1).GetRowset(Scroll.);

  Was this answer useful?  Yes

amseen

  • Sep 7th, 2005
 

&Lev0_rowset = GetLevel0()(1); 
&Lev1_rowset = &Lev0_rowset.getrowset(scroll.); 
for &I = 1 to &Lev1_roset.activerowcount 
&rec = .....; 
&fld =....; 
end-for;

  Was this answer useful?  Yes

Raji

  • Nov 17th, 2005
 

&L0=GetLevel0();

&Row0=&L0.GetRow(1);

&RowSet=&Row0.GetRowSet(Scroll.RECORDNAME);

For &i =1 to &RowSet.ActiveRowCount

   &Row1=&RowSet.GetRow(&i);

   &Rec1=&Row1.GetRecord(RECORD.RECORDNAME);

   For &f1 = 1 to &Rec1.FieldCount

      &FIELD1=&Rec1.GetField(&F1);

  end-for;

end-for;

  Was this answer useful?  Yes

L.Ramesh

  • Jan 2nd, 2006
 

consider you are at level 0 and you want to fetch a field from level 2 row you can use the following syntax

The syntax is

&field=getrowset(scroll.level1 rec name)(1).GetRowset(Scroll.level2 rec name)(level 2 row number).Level2 Rec Name.Field Name

consider u are at level 0 and u want to fetch a field from level 2 scroll,

You can use the following syntax

&field=GetRowset(scroll.level 1 RecName)(Lev 1 Row#).GetRowset(Scroll.Level 2 RecName)(Lev 2 Row #).RecNmame.FieldName

or

Local RowSet &RS1;

Local RowSet &RS2;

Local Field &Field;

&RS1=GetRowset(scroll.level 1 RecName);

for &I = 1 to ActiveRowCount(&RS1);

    Row1=&RS1(&I);

    &RS2 = Row1.GetRowset(Scroll.Level 2 RecName);

    for &J = 1 to ActiveRowCount(&RS2);

        &Field=&RS2.Level2 Rec Name.Field Name;

        Do required operations with the field value

        .....

        .....

    End-for;

End-for;

praveen

  • Jan 5th, 2006
 

&var = GetLevel0()(1).GetRowset(Scroll.Recordnme);

  Was this answer useful?  Yes

Prashans

  • May 10th, 2006
 

If u want to fetch the filed value from the 2nd level then the following code will help u.


/*getting the scroll level 0's first row*/

&rs0 = GetLevel0();
&row0 = &rs0.GetRow(1);

/*getting the scroll level 1's first row*/

&rs1 = &row0.GetRowset(1);
/*&row1 = &rs1.GetRow(1);

/*getting the scroll level 2's first row*/

&rs2 = &row1.GetRowset(1);
&row2 = &rs2.GetRow(1);

/*getting the scroll level 2's first row's first record and its 4th field's value*/

&rd1 = &row2.GetRecord(Record.RecName);
&rf4 = &rd1.GetField(Field.FieldName);

  Was this answer useful?  Yes

kinker

  • Jun 6th, 2006
 

Guys u have helped us a lots!May god bless u.

  Was this answer useful?  Yes

vinaykanth

  • Jun 13th, 2006
 

 getlevel(0).getrecord1.recname.getrecord2.recname.gettargetrecord.recname(get strg).get(turbo).

  Was this answer useful?  Yes

viswanath

  • Sep 29th, 2006
 

&LEVEL0_ROWSET = GetLevel0();
&LEVEL0_ROW = &LEVEL0_ROWSET.GETROW(1);
&LEVEL1_ROWSET = &LEVEL0_ROW.GETROWSET(Scroll.CT_FLOORWING);
For &LEVEL1CNT = 1 To &LEVEL1_ROWSET.ACTIVEROWCOUNT Step 1
      &LEVEL1_ROW = &LEVEL1_ROWSET.GETROW(&LEVEL1CNT);
      &LEVEL2_ROWSET = &LEVEL1_ROW.GETROWSET(Scroll.CT_EMPLOCATION);
      For &LEVEL2CNT = 1 To &LEVEL2_ROWSET.ACTIVEROWCOUNT Step 1
             &LEVEL2_ROW = &LEVEL2_ROWSET.GETROW(&LEVEL2CNT);
             &LEVEL2_REC = &LEVEL2_ROW.GETRECORD(Record.CT_EMPLOCATION);
             &LEVEL2_FIELD = &LEVEL2_REC.GETFIELD(Field.PHONE);
             &LEVEL2_FIELD.VALUE = "293-4444";
             /*THIS IS OTHER WAY OF ACCESSING FIELD*/
             &LEVEL2_ROW.CT_EMPLOCATION.PHONE.VALUE = "293-4444";
      End-For;

  Was this answer useful?  Yes

SK

  • Feb 4th, 2007
 

Hi,I m looking for a property to show a scroll bar in conent pages of master page in ASP.Net 2.0 using C#..................I've searched a lot but didnt find even a single example .The problem is that when content exceeds the content area, master page is also expanded with that, disturbs all the look n feel of pageReply me at ur earliest

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions