![]()
Name: 1.jpg Views: 10 Size: 54.3 KB ID: 11344" class="size_medium" />
The screen scrape shows how to enter the function in the query design grid. (Click on it for full size.)
If you examine the generated SQL, it's very much as Orange specified. (Note he tested for >0 and I test for <0)
If you want a VBA solution then post back.