Previous Thread
Next Thread
Print Thread
#14941 10/30/08 06:45 PM
Joined: Mar 2006
Posts: 57
P
Adagio Buff
Adagio Buff
P Offline
Joined: Mar 2006
Posts: 57
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.

premium #14942 10/30/08 07:39 PM
Joined: Mar 1999
Posts: 11,763
Adagio Action Team
Adagio Action Team
Joined: Mar 1999
Posts: 11,763
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
Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
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

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
2 members (Softrak Support, 1 invisible), 94 guests, and 3 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,682
Posts71,653
Members1,875
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