Hi, I have to solve this problem.
I have one table, let's say T1 that contains ten random numbers. I have another table, called T2 that contains five random values. My goal is to insert into a third table let's say T3 all the values that are contained in T1 but not in T2. How can write the code to do that? I tried the following code but it doesn't work.
IF T1.FINDSET THEN BEGIN
T1.SETRANGE(T1."No",T2."No");
REPEAT
T3.INIT;
T3"No" := T1."No";
T3.INSERT;
UNTIL T1.NEXT = 0;
END;
I'm new at that, so I'm not an expert. Thank you
*This post is locked for comments
I have the same question (0)