Previous Thread
Next Thread
Print Thread
#31384 03/22/12 05:04 PM
Joined: Feb 2010
Posts: 164
J
Adagio Maven
Adagio Maven
J Offline
Joined: Feb 2010
Posts: 164
Hya gents,

I am working in GridView and for some weird reason the filter

MATCHCOUNT({Trx Acct}, "16231, 16232, 16233, 16234, 16235, 16236, 16237, 16238, 16239, 16241, 16290, 16203, 16215, 16216, 16410" ) > 0 is always returning true and it should not.

Is there a problem with the function or perhaps it is something I have missed?

Thank you and,

Cheers, JK

Joined: Jun 1999
Posts: 4,506
Adagio God
Adagio God
Joined: Jun 1999
Posts: 4,506
I believe that the correct syntax would be:

MATCHCOUNT(Trim({Trx Acct}), "16231", "16232", "16233", "16234", "16235...)

If any one of these 5 digit numbers exist as a {Trx Acct} in any record then the result is true (> 0). I'm not sure if the order of processing is the entire table or individual records.

Which table are you using with the field Trx Acct?


Douglas Dickie
AccSys Solutions Inc
Phone: 1.888.534.4344
ddickie@accsyssolutions.com
Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
I've never seen that function used before. What are you trying to accomplish?


Andrew Bates
Joined: Feb 2010
Posts: 164
J
Adagio Maven
Adagio Maven
J Offline
Joined: Feb 2010
Posts: 164
Thank you for your reply,

We are trying to view a subset of accounts....

Cheers, JK

Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
If the accounts have something common in the description (say "BUSTER"), then a formula like this:
Code:
FIND("BUSTER",UPPER(TRIM({Description})),1) <> 0

would work better. Alternatively, you could load one of the optional fields in Ledger and test it for a specific value.

We'll be training explicitly on how to do this at the Adagio Opportunity Conference pre-conference GridView training. Why isn't someone from Island Tug registered for the event?


Andrew Bates
Joined: Feb 2002
Posts: 839
M
Adagio Virtuoso
Adagio Virtuoso
M Offline
Joined: Feb 2002
Posts: 839
Although the Help implies that this should work the fact is that MATCHALL, MATCHANY and MATCHCOUNT are "fuzzy" match functions.

MATCHALL does say

"This is an fuzzy match function, where a result may be returned if the match is close but not exact."

Try
Code:
FINDANY(trim({TrxAcct}), "16231", "16232", "16233", "16234", "16235...)




Last edited by Andrew Bates; 03/22/12 08:13 PM. Reason: Typo in func name

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
1 members (AudreyQuick), 1,170 guests, and 3 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,680
Posts71,644
Members1,874
Most Online1,408
Dec 9th, 2025
November
S M T W T F S
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
Powered by UBB.threads™ PHP Forum Software 8.0.0