Ciao a tutti,
kz = dthz << get rows where( Is Missing( :USL ) & Is Missing( :LSL ) );
dthz << delete rows( kz );
dthz << New Column( "FAIx", "character" );
dthz << begin data update;
dthz:FAIx << set formula( If( Col Number( :FAI#, :FAI# ) > 1, :FAI# || "_" || Char( Col Rank( :FAI#, :FAI# ) ), :FAI# ) );
dthz << end data update;<BR />
Wait( 1 );//have to add
dt2 = dt1 << Join(
With( dthz ),
Select( all ),
SelectWith( :FAIx ),
By Matching Columns( :FAI# = :FAI#,:USL = :USL, :LSL = :LSL ),
Drop multiples( 0, 0 ),
Include Nonmatches( 1, 0 ),
Preserve main table order( 1 ),
Output Table( "221" ),
invisible
);
wait(1);
Il seguente codice, prima e dopo l'aggiunta di wait () per funzionare normalmente; altrimenti la parte posteriore del join questa affermazione sarà collegata all'errore segnalato tabella vuota, dicendo che questo è vuoto, qual è la ragione ah, a volte normale, il più delle volte la tabella vuota.