Wednesday, May 5, 2010

Gray out an entire page except one field using Peplecode

Gray out an entire page except one field using Peplecode

Option 1 : Use GRAY() function in the page activate event to gray out individual fields.
Option2: Make page display only. and then in the peoplecode use enable property for the field that needs to be enabled.
OR
Loop through
&Rec= Your Record
for &i =1 to &rec.fieldcount
if &rec.field.name <> 'your req field' then
&rec.field.displayonly =true;
else
&rec.field.displayonly =true;
end-if;
end-for;

2 comments:

  1. Which methons do you personally choose to search for data for your fresh articles, which exact search engines do you regularly rely on?

    ReplyDelete
  2. I try something similar, but did not work

    Page.VCHR_STATUS_IA.DisplayOnly = True;
    HA_FACT_HDR_WRK.HA_ENLACE1.Enabled = True;

    Greetings

    ReplyDelete