I've 4 tables, tbl1, tbl2, tbl3 and tbl4.
fld1 of tbl1, fld2 of tbl2 contain values of primary key of tbl3. They are long integer type.
I have written a vba to loop tbl2 within the loop of tbl1 to compare fld1 with fld2. If comparison is equal, a counter is incremented and some field values from tbl1 and tbl2 will be written into tbl4.
I encounter weird results in which the comparisons is not as accurate as expected.
Is long integer cannot be accurately compared?
Any suggestions on this.
fld1 of tbl1, fld2 of tbl2 contain values of primary key of tbl3. They are long integer type.
I have written a vba to loop tbl2 within the loop of tbl1 to compare fld1 with fld2. If comparison is equal, a counter is incremented and some field values from tbl1 and tbl2 will be written into tbl4.
I encounter weird results in which the comparisons is not as accurate as expected.
Is long integer cannot be accurately compared?
Any suggestions on this.