Page History
...
- A data grid starts column and row numbering from 0 and includes the header rows.
- Column numbers are not necessarily sequential in a data grid.
- Columns have names based on the text in the column headings.
To select an employee in the grid using SUBFILE_ACCESSOR
Create the SUBFILE_ACCESSOR object:
var SFL = new SUBFILE_ACCESSOR ("EMPLOYEE_LIST");Put an "8" somewhere in column "Opt":
SFL.SetSelectionColumnName("Opt","8");Then locate the employee that has "A0090" in column "EmployNumber":
SFL.SetSearchColumnName("EmployNumber","A0090");Put the value into the subfile:
SFL.SelectSubfileEntry();Lastly, destroy the subfile object:
SFL.Dispose();Do not write subfile code manually
Instead see how to create a subfile script Using the Scripting Pop-up Menu and then modify it as required.
...
Use the Probe button which appears on RAMP screens.