0

NP("join",<empty array>)

When I want to find all values of a field in table A that don't occur in table B I use the NP("difference"…) function. When this field is numeric and both tables have the same set of values I sometimes get {0} instead of the expected empty array. Using the NAV sytem table Integer:

NP("join",NP("difference",NL("allUnique","integer","number","number","1|2"), NL("allUnique","integer","number","number","1|2")),"|")
yields "0" instead of ""

The results are correct whenever NP("difference"…) should evaluate to a non-empty array. Replacing the "allUnique" by "Filter" doesn't change the results.

What am I doing wrong here? (Excel 2007, Jet Reports 2010)

4 comments

Please sign in to leave a comment.