Getting Fields

Captions are only available if your webroutine has Options(*METADATA)

// Get field

var empno = wr.field("EMPNO");

var empnoLabel = empno.label();

var empnoDesc = empno.description();

var empnoHeadings = empno.headings();

var empnoValue = empno.value();