'Working with static number 4065
xitem = DLookup("[titem]", "tbl_UsageSort", "[tContractID] = 4065 And [tfixedrate] > 0") 'Archive Usage
'Breaks Working with variable tusagesort.tContractID (which equals 4065)
xitem = DLookup("[titem]", "tbl_UsageSort", "[tContractID] = " & tusagesort.tContractID And [tfixedrate] > 0 )
|