Topic Options
#18049 - 07/28/09 08:15 PM Gridview - Filter
SusanTennier Offline
Adagio Maestro

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
(67.193.52.62)
How can I filter a Gridview with:

AND(
{Doc Type} = "C",
{Line Type} = "C",
{OELine Description} containing the word "PRICE"
)

The first 2 lines are fine but is there a way to filter it to show me all the comment lines that contain (but is not limited to) the word "price"??

I'm using the table: *OE Ord Detail w Head, IC
_________________________
Susan Tennier
TDL Canada
Trenton, Ontario

Top
#18050 - 07/28/09 10:14 PM Re: Gridview - Filter [Re: SusanTennier]
Bruce Gardner Offline
Adagio Wizard

Registered: 06/15/04
Posts: 3654
Loc: Toronto ON, Canada
(70.26.89.177)
Hello Susan:

Use FIND("PRICE", UPPER({OELine Description}), 1) > 0

This means find the first place where "PRICE" occurs in the Description and return the position in the Description.

For instance:
-If the Description is "PRICE DISCOUNT", FIND() = 1
-If the Description is "NEW PRICE DISCOUNT", FIND() = 5
-If the Description is "NEW DISCOUNT", FIND() = 0
_________________________
Bruce Gardner
ARX Business Solutions Inc.

Top
#18052 - 07/29/09 08:31 AM Re: Gridview - Filter [Re: Bruce Gardner]
SusanTennier Offline
Adagio Maestro

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
(64.56.251.201)
Thanks Bruce!!
_________________________
Susan Tennier
TDL Canada
Trenton, Ontario

Top


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 819 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1874 Members
5 Forums
14566 Topics
71089 Posts

Max Online: 1089 @ Yesterday at 11:03 PM
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