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

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
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: 3612
Loc: Toronto ON, Canada
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
Thanks Bruce!!
_________________________
Susan Tennier
TDL Canada
Trenton, Ontario

Top


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

Max Online: 432 @ 01/20/25 10:17 PM
April
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