Hello All,
I have created the fields dynamically through FormStringControl class in a grid and fields get generated and displayed successfully on the form but when i try to assign values to the fields , it does not accept any value .
Following is the snapshot for which i am facing an error,
FormStringControl fControl;
;
fControl = new FormStringControl();
fControl = Grid.addDataField(tablename_ds.id(),fieldnum(tablename,fieldname));
fcontrol.label(tablename.fieldname);
fcontrol.allowEdit(false);
fControl.text('lalit');
At the last line of code it throws error.
What should i do to assign the values to the field ??
Please help