Joined: 06 Oct 2013
Location: United Kingdom
Online Status: Offline
Posts: 66
Topic: Only show results if field has a value Posted: 15 Aug 2018 at 12:44am
Hi,
I have a purchasing report where stock can be assigned to a location or not. If the stock is stored in a location the location field will contain a value, if its not stored in a location the field is blank.
How can I filter the report to show records if the stock location contains a record?
Appreciate I could do if statements that reference the stock location ID but I thought there might be an easier way?
Thanks
Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Posted: 15 Aug 2018 at 7:20am
In the select query you can put in a expression in the formula editor like this
len({someField}) > 0
The somefield would be the location field in your case. Also in the formula workshop be sure to select Default Values for Nulls (the Exception For Nulls selection may cause an issue).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum