win 9.1c
i have got 2 tables with nearly the same structure. i want to compare both the following way:
i grab the _file with the name of my first table. then i grab the _field of _file. now i've got all fields which i store in a temp table with a numeric counter.
eg:
1 name
2 adress
3 email
for 'better' :sleepy: unterstanding:
FOR EACH _file
WHERE _file._file-name = "table1":
FOR EACH _field of _file:
create ttFields.
assign
ttFields.counter = 1 /* 2,3,4 etc. */
ttFields.name = _field._field-name
.
END.
END.
now i have to find the value of the field table1.name. is it possible to get the value of a field when you get the name as string?
i tried with dynamic temptables...
i have got 2 tables with nearly the same structure. i want to compare both the following way:
i grab the _file with the name of my first table. then i grab the _field of _file. now i've got all fields which i store in a temp table with a numeric counter.
eg:
1 name
2 adress
3 email
for 'better' :sleepy: unterstanding:
FOR EACH _file
WHERE _file._file-name = "table1":
FOR EACH _field of _file:
create ttFields.
assign
ttFields.counter = 1 /* 2,3,4 etc. */
ttFields.name = _field._field-name
.
END.
END.
now i have to find the value of the field table1.name. is it possible to get the value of a field when you get the name as string?
i tried with dynamic temptables...