Transform your cross table to a straight tabe using CROSSTABLE LOAD prefix. Then prepare another table to enable the AND mode list box in the frontend:
INPUT:
LOAD * INLINE [
ID, Code1, Code2, Code3
1, 1,2,3
2, 3,3,4
3, 4,5,6
4, 2,1,5
];
Link:
CROSSTABLE (CodeNo, Code)
LOAD * RESIDENT INPUT;
SELECT:
LOAD DISTINCT ID, Code as AndSelect RESIDENT Link;