Code:
cntr = 0
For i = 0 To stp - 1
t(i) = DLookup("[OpID]", "[Ops]", "[bID] = " & lkp And "[OpID] > " & cntr)
cntr = t(i)
Next
dlookup is driving me nuts
this works with only one criteria but returns type mismatch if I add the other criteria
all values are numbers (between 0 and 10 in my test base)
I'm trying to compile an array of all records that contain certain bID.
tx for help