Create Report Options Lookups for Multiple Columns
Overview
When creating Reports Options with database lookups, it can be very helpful to the person running the report to have the lookup list contain multiple columns of data.
Example
If we create the lookup function:
=NL("Lookup","G/L Account","No.")
then we get the following in our report options:
However, if we change our formula to
=NL("Lookup","G/L Account",{"No.","Name","Account Type"})
our lookup changes to:
When you select a row in the lookup, only the value from the first column is returned to the report, so you want to make sure that you set your first column to the field that you want to use in your filters.