Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have the following table to create another table, based on this table:
sheet_i | sleutelveld1_i | sleutelwaarde1_i | sleutelveld2_i | sleutelwaarde2_i | veld_i | actie_i | waarde-in2_i | waarde-uit2_i |
NAW | zoeknaam | 120267ZE-2138 | geboortedatum | insert | null | 12-2-1967 | ||
NAW | zoeknaam | 120267ZE-2138 | geslacht | insert | null | vernietigd | ||
NAW | zoeknaam | 120267ZE-2138 | H_PC | insert | null | vernietigd | ||
NAW | zoeknaam | 120267ZE-2138 | land | insert | null | vernietigd | ||
NAW | zoeknaam | 120267ZE-2138 | zoeknaam | insert | null | 120267ZE-2138 | ||
NAW | zoeknaam | 200693WO-154 | geboortedatum | insert | null | 20-6-1993 | ||
NAW | zoeknaam | 200693WO-154 | geslacht | insert | null | vernietigd | ||
NAW | zoeknaam | 200693WO-154 | H_PC | insert | null | vernietigd | ||
NAW | zoeknaam | 200693WO-154 | land | insert | null | vernietigd | ||
NAW | zoeknaam | 200693WO-154 | zoeknaam | insert | null | 200693WO-154 |
The field 'sleutelwaarde1_i' contains 10 values (2 distinct values). The need to be merged into one record belong to the fields 'geboortedatum', 'geslacht', 'H_PC', 'land' and 'zoeknaam'. The names of the fields to be created are described in the field 'veld_i' in the table above.
The newly created table needs to be:
zoeknaam | geboortedatum | geslacht | H_PC | land |
120267ZE-2138 | 12-2-1967 | vernietigd | vernietigd | vernietigd |
200693WO-154 | 20-6-1993 | vernietigd | vernietigd | vernietigd |
How do I use the values in the field 'veld_i' to create fields in my new table and add the values described in 'waarde-uit2_i' to them?
The generic load described here (The Generic Load) may be helpful.
The generic load described here (The Generic Load) may be helpful.