Previous Thread
Next Thread
Print Thread
#5109 06/24/05 04:57 PM
Joined: Feb 2002
Posts: 301
Adagio Specialist
Adagio Specialist
Joined: Feb 2002
Posts: 301
Is it possible to use wildcards in the named items for Gridview? What I would like is for the last two digits of the ledger account to equal the province. If so, what is the syntax?

Lars


#5110 06/24/05 06:29 PM
Joined: Mar 1999
Posts: 11,763
Adagio Action Team
Adagio Action Team
Joined: Mar 1999
Posts: 11,763
Hi Lars,

I think there are two separate questions here:

1) Named items and wildcards allowed?
No. The purpose of Named items is to 'translate' a field entry from one value to another. For example, if the document type is "I" then print "Invoice". Or if "BC" then print "British Columbia". There is a one-to-one correspondance here and wildcards are not valid - ? and * are interpreted as literal text only.

2) Using the province as the last two characters of the GL account code.
If Adagio Ledger is set up for the accounts to use this structure, then GridView can use a Calculated Column to extract the last 2 characters to get the province:
Right({GL acct},2)
This calculated column can be used for filtering or summarizing/subtotaling data.


#5111 06/24/05 06:50 PM
Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
Hi Lars,

Just a note to caution against coding a location into a GL account code. You'll find it much easier to generate financial statements if you encode the location (province) into the department.



Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
0 members (), 206 guests, and 3 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,683
Posts71,655
Members1,875
Most Online1,408
Dec 9th, 2025
December
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 31
Powered by UBB.threads™ PHP Forum Software 8.0.0