Topic Options
#59229 - 11/15/18 12:00 PM GridView Filter
kevinp Offline
Stranger

Registered: 05/28/14
Posts: 3
Loc: Oregon
I want to run a gridview search that pulls all invoices for a certain date range and for transaction "IN" or "CN". How do I add and OR to the Trx Type to include "IN" or "CN"
AND(
{Trx Date} >= DATE(2018,01,01),
{Trx Date} <= DATE(2018,10,31),
{Trx Type} = "IN"
)

Top
#59230 - 11/15/18 12:05 PM Re: GridView Filter [Re: kevinp]
Steve Schwartz Offline
Adagio God

Registered: 03/10/02
Posts: 4516
Loc: Wynnewood, PA
AND(
{Trx Date} >= DATE(2018,01,01)
,
{Trx Date} <= DATE(2018,10,31)
,
OR(
{Trx Type} = "IN"
,
{Trx Type} = "CN"
)
)

You should learn how the QUERYDATE function works so you don't have to hard-code the date range into the filter.

Steve

Top
#59234 - 11/15/18 12:45 PM Re: GridView Filter [Re: Steve Schwartz]
kevinp Offline
Stranger

Registered: 05/28/14
Posts: 3
Loc: Oregon
Thanks

Top


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 161 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14487 Topics
70742 Posts

Max Online: 432 @ 01/20/25 10:17 PM
May
Su M Tu W Th F Sa
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31