Topic Options
#14941 - 10/30/08 01:45 PM Gridview Filter
premium Offline
Adagio Buff

Registered: 03/22/06
Posts: 57
Loc: Arichat, Nova Scotia
I've created a Gridview report from A/R showing Customer #, Name, Salesperson and Territory. Could you tell me how to create a filter to show only one particular salesperson.

Top
#14942 - 10/30/08 02:39 PM Re: Gridview Filter [Re: premium]
Softrak Support Offline

Adagio Action Team

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

There are a number of ways this could be done but perhaps the simplest is to create a new filter named the 'code' used for the particular salesperson (eg. RD). Within the filter, you could enter:

TRIM({Salesperson} ) = "RD"

This would filter would display only those customer records for which 'RD' is the salesperson.

After the filter's created, select it from the Filters dropdownin the GV toolbar to activate it.
_________________________
Regards,
Softrak Tech Support

Top
#14949 - 10/30/08 08:30 PM Re: Gridview Filter [Re: Softrak Support]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
If you want the user to specify the salesperson to allow them to select any salesperson in the file, then you'd use:
Code:
TRIM({Salesperson})=TRIM(QUERYSTRING("Which saleperson?",""))

or if all your salespeople have uppercase codes then:
Code:
TRIM({Salesperson})=TRIM(UPPERCASE(QUERYSTRING("Which saleperson?","")))


For an even better user interface, use the Salesperson table in either Invoices or OrderEntry and create a View listing the salesperson code and name. The Link that table by the salesperson code to the Customer View. Then the user can just click on the salesperson and see their customers.
_________________________
Andrew Bates

Top


Moderator:  Christa_Meissner 
Who's Online
1 registered (Lauren Stief), 51 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14484 Topics
70731 Posts

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