Quote Originally Posted by mark_s View Post
Hi Mark,
Those error messages are okay.

If I am reading your code correctly you are not off setting the index value. Each lookup2 table has a possible index address of 0 - 85. In your case you need to offset each table by 64

Something like this

If index > 64 then table2
if index > 128 then table3
if index > 192 then table4

Table1: 'No offset

Lookup2 index[1-64]var
return

Table2:

Index = index -64 'offset
Lookup2 index[65 -128]var
return
Exactly right Mark! I was forgetting to offset the Measurement variable back to zero relative to each table.

The Page Boundary errors went away too!

Thanks for looking!