( |
|
|
|||
Reads record field value by it's name |
Parameters: | |
Record | |
Name of the field | |
Row number (-1 if field is not an ArrayField) | |
function string 255 GetFieldValueByName_FromINVc(string code, string field, integer rownr) begin string 255 res; record INVc INr; INr.Code = code; if (ReadFirstMain(INr, 1, true)) then begin res = GetFieldValueByName(INr, field, rownr); end; GetFieldValueByName_FromINVc = res; return; end;
Related topics: |