大家好,
我有一個數據庫,其中某些列有重複值。 目標是通過分配值“從列中刪除值”。當前面提到的列有重複值時。
以下是數據庫的概述:

例如,在此摘錄中:當存在重複的單元格(任務列、批次和操作)時,需要能夠分配值“。(因此,這相當於刪除 % Prd、% Proc、% Prd(6 個月)、% Proc(6 個月)列中的值。
我從以下腳本開始:
Names Default To Here( 1 );
dt = current data table();
// Sélectionner les lignes dupliquées
a = dt << Select Duplicate Rows( Match( :lot, :tache, :op ) );
Column(dt, 11)[a] =.;
Column(dt, 12)[a] =.;
Column(dt, 13)[a] =.;
Column(dt, 14)[a] =.;
感謝您的幫助 !