You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

how to take rowset level 2 as the grid area ,and how to write code to retrive field value from level 0 to level2

No replies
Guest's picture
Guest

hi

i was doing to write a code to take field value from rowset2
like this
local rowset &rowset &rowset1,&rowset2;
local row &row,&row1,&row2;
local record &rec;
local field &fld;
&rowset=get levelo();
&row = &rowset(1);
&rowset1=&row.getrowset(scroll.primary record);
&row1=getrowset1(1);
&rowset2=&row1.getrowset(scroll.primary record);
&row2=&getrowset(3);
&rec=&row2.recordname;
&fld=&rec.fieldname;
winmessage(" "|&fld.value);
now i want to take the value from grid field ,grid is level2 rowset so how do write application designer
and in data buffer are we write grid ?or we cannot write grid area .
can u tell me the concept,if their is chance to write the code on grid area ,to get field value

Post new comment

CAPTCHA
The question below is to prevent automated spam submissions.
1 + 18 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.