Wednesday, April 1, 2015

Working with Grids

Navigating with Peoplecode

Example


  1. Local Rowset &rs = GetLevel0()(1).GetRowset(Scroll.NAMES);
  2.  
  3. For &i = 1 To &rs.ActiveRowCount
  4. If &rs(&i).NAMES.NAME_TYPE.Value = "PRI" Then
  5. Messagebox(0,"",0,0,"This is the Primary email name ",&rs(&i).NAMES.NAME.Value);
  6. End-If;
  7. End-For;

Display the code value of a translate.

I had a case where I wanted to display the actual translate code value on a grid instead of the long or short translate. To accomplish this instead of dragging the record column to the grid to add the column I used the insert menu and added a edit box. Then set the properties of the new dummy column to your record and field.

No comments:

Post a Comment