Topic Options
#7673 - 10/04/06 10:30 AM Gridview TB
bal Offline
Adagio Ace

Registered: 03/29/99
Posts: 216
Loc: Ottawa
I am trying to create a list of dockets that have 2006 transactions. Then I want to see only certain dockets.
So far my filter looks like this:


AND

(({Last Time/Disb Post Date} >=BEGINYEAR()),

{Docket #} <> " 10-04",
{Docket #} <> " 10-46",
{Docket #} <> " 40-04")

It works but....
I have tried to use a wildcard so that any docket numbered "10-*" is excluded but it doesn't seem to work. Is there a way to do that?
Do I have to show each excluded docket separately? (Can I make a list somehow - i.e.Docket #<> " 10-*, " 48-04"," 82-01" ?)


Thanks.

Top
#7674 - 10/04/06 11:32 AM Re: Gridview TB
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11550
Loc: Vancouver, BC Canada
Hi Bal,

There isn't a concept of Wildcards with GridView functions - rather you need to apply a formula similar to what you would use with Excel.

The LEFT function takes the left-most characters from a string:
LEFT({Docket #},2) would take the first 2 characters.
LEFT(TRIM({Docket #}),2) would get rid of any leading/trailing spaces from the docket code and then take the first two characters.

There is a function called FINDANY that might be useful for your specific docket search:
FINDANY({Docket #},"10-04","10-46","40-04")
The result will be 1 if there are any matches or 0 if there are none. So you would have to use this in a manner like:

AND(
{Last Time/Disb Post Date} >=BEGINYEAR()
,
FINDANY({Docket #},"10-04","10-46","40-04")=0
)

Some tweaking of this may be necessary. Good luck!
_________________________
Regards,
Softrak Tech Support

Top
#7675 - 10/04/06 11:58 AM Re: Gridview TB
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
Hello bal,

Here are another two ways to solve this problem:

1) Choose an unused field in the Docket record (Comments? Managing office?) and enter an indicator on the record if you want the docket included in the View. Then you can just test the contents of the field in the record to include/exclude the record.

2) Use the "GetNamedItem()" function to see if the docket is contained in a separately maintained list of docket numbers. The structure of the list would be:
Code:

[NamedItems]
10-04="Y"
10-46="Y"
10-48="N"
40-04="Y"


and the function call would be:

GETNAMEDITEM(TRIM({Docket #})="Y")

You can easily create the named item file by exporting the list of dockets to Excel and creatin the two entries there - finally saving the list as a CSV file.
_________________________
Andrew Bates

Top


Moderator:  Christa_Meissner 
Who's Online
1 registered (Rebecca Young), 87 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14469 Topics
70667 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