M
Miranda
I have the following formula in a query. The upper spec of the dlookup is
returning a 1 when it shouldn't be. Example: mindiam 10.000 maxdiamb
11.000. When 11.000 is entered, it shows as out of spec. Any help will be
greatly appreciated!
OutsideAverageDiameterA: IIf([Average Diameter
A]<DLookUp("[MinDiam]","[tblProductSpecs]","[product]='" & Data!Product &
"'") Or [Average Diameter
A]>DLookUp("[MaxDiam]","[tblProductSpecs]","[product]='" & Data!Product &
"'"),1,0)
returning a 1 when it shouldn't be. Example: mindiam 10.000 maxdiamb
11.000. When 11.000 is entered, it shows as out of spec. Any help will be
greatly appreciated!
OutsideAverageDiameterA: IIf([Average Diameter
A]<DLookUp("[MinDiam]","[tblProductSpecs]","[product]='" & Data!Product &
"'") Or [Average Diameter
A]>DLookUp("[MaxDiam]","[tblProductSpecs]","[product]='" & Data!Product &
"'"),1,0)