This is wild! I have a field in my query based on the following expression: Expr1([Units]*[Current$PerUnit])-(([Weight]*[$/LB])+[Packgng]))/([Setup]+[Spec]+[Saving]+[Down]).
This expression gives the expected (correct) results. When criteria such as <100 are entered directly in the criteria line the results are also correct. The problem is that when I use a prompt for input, that is "<[Amount]" in the criteria line the results are incorrect. Results can vary wildly. Example: when entering "1" (parameter would be "<1" the results are correct, but when entering "2" results are wrong with many returned values over 100. When entering 100 Results are incorrect with no vavlues less than 100 found although several exist. Got me beat! can anybody help?? Thanks!
This expression gives the expected (correct) results. When criteria such as <100 are entered directly in the criteria line the results are also correct. The problem is that when I use a prompt for input, that is "<[Amount]" in the criteria line the results are incorrect. Results can vary wildly. Example: when entering "1" (parameter would be "<1" the results are correct, but when entering "2" results are wrong with many returned values over 100. When entering 100 Results are incorrect with no vavlues less than 100 found although several exist. Got me beat! can anybody help?? Thanks!