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

Registered: 05/28/14
Posts: 3
Loc: Oregon
(65.132.28.194)
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: 4544
Loc: Wynnewood, PA
(96.245.88.247)
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
(65.132.28.194)
Thanks

Top


Moderator:  Christa_Meissner 
Who's Online
1 registered (1 invisible), 120 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1867 Members
5 Forums
14567 Topics
71092 Posts

Max Online: 1148 @ 11/22/25 01:55 AM
November
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