Expand my Community achievements bar.

Accessing row values in a table from a script object (Function)

Avatar

Former Community Member
I have a script object which contains a function. In this function I am counting non-blank entries in a column by checking for non-blank cells in each row. The table is NOT part of the function but is a part of the root form.



I am not having much luck accessing the cell value even though I am using the completely defined object name. i.e. Page form = PtMedReconForm; which has a container called PtMedReconContainer which contains DCMedsTable. There are 10 rows named DCMedsRow[n] where n = 0-9. The individual cell name is DCMeds. So in the function when I reference:



CurRowValue=PtMedReconForm.PtMedReconContainer.DCMedsTable.DCMedsRow[n].DCMeds



I should be able to get the rawValue in that cell.



It doesn't work. What am I doing wrong?



TIA for your help!
0 Replies