Accessing data buffer value
Hi All,
i am trying to access data buffer value using people code but not having luck.
1. using CI to save the component, before CI.Save() inserting item into Table..
sample code:
&oNameTypeVwCollection = &oHCR_NAMES_OTHER_SRV_CI.NAME_TYPE_VW;
&oNameTypeVw = &oNameTypeVwCollection.Item(1);
&oNamesCollection = &oNameTypeVw.NAMES;
&oNames = &oNamesCollection.Item(1);
&oNames = &oNamesCollection.InsertItem(1);
&oNames.NAME_TYPE = "PRF";
&oNames.EFF_STATUS = "A";
&oNames.COUNTRY_NM_FORMAT = "001";
If Not &oHCR_NAMES_OTHER_SRV_CI.Save()
2. trying to access view NAME_TYPE_VW if any row with type PRF is found, but could not find it.
sample code:
If &rsNAME_TYPE_VW(&rownum1).NAME_TYPE_VW.NAME_TYPE.Value = "PRF" Then