Page 1 of 2 1 2 >
Topic Options
#27618 - 06/10/11 12:02 PM Gridview - Setting Filter
Barb9 Offline
Adagio Prodigy

Registered: 03/06/06
Posts: 273
Loc: Langley
In Inventory-"IC Item Locations Master" I need to Filter for specified range of "Item Number". Please help as how to set the Filter.

Thanks.

Top
#27621 - 06/10/11 01:00 PM Re: Gridview - Setting Filter [Re: Barb9]
Bruce Gardner Offline
Adagio Wizard

Registered: 06/15/04
Posts: 3613
Loc: Toronto ON, Canada
The following Filter will allow you to specify 2 Item Codes; one is the starting point and the other is the ending point. All Item codes between will be displayed (including the starting and ending codes).

AND(
{Item #} >= QUERYSTRING("Enter Starting Item Code"),
{Item #} <= QUERYSTRING("Enter Ending Item Code")
)

If you don't want a dynamic filter, do the following (where you would replace the 2 item codes with your own values).

AND(
{Item #} >= "BKHUNI001",
{Item #} <= "BKHUNI099"
)

Note that the Item Codes are unformatted. Do not include the hyphens, dashes or spaces that Adagio automatically inserts for you. For instance, Item BKH.UNI-001 would be specified as BKHUNI001.


Edited by Bruce Gardner (06/10/11 01:04 PM)

Top
#27622 - 06/11/11 07:54 AM Re: Gridview - Setting Filter [Re: Barb9]
Retired_Guy Offline
Adagio Master

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

There's another way to accomplish the same task which might be easier and run more quickly if you have a large number of items.
  1. Create a View showing the information you want from the Item Location Master.
  2. Create another View that shows all your inventory items (perhaps just item number and description).
  3. Define a link from the Item number in the inventory list to the location View.
  4. Save the two Views as a workspace.

Now, to see the item quantity information for a specific item, just click on the item number in your item list. To see the quantities for multiple items, select them using shift-click or ctrl-click and double click to generate the link.

The lookup is virtually instantaneous.

I've attached a ZIP of the workspace I've described.


Attachments
IC ItemList.zip (88 downloads)
Description: GridView Workspace to look up item quantity information in the item location file.


_________________________
Andrew Bates

Top
#27626 - 06/13/11 10:16 AM Re: Gridview - Setting Filter [Re: Bruce Gardner]
Barb9 Offline
Adagio Prodigy

Registered: 03/06/06
Posts: 273
Loc: Langley
I need additional setting to the Filter, is that in between of the filtered range, fews items need to be excluded. How can I do it?

Thanks.

Top
#27627 - 06/13/11 10:30 AM Re: Gridview - Setting Filter [Re: Barb9]
Bruce Gardner Offline
Adagio Wizard

Registered: 06/15/04
Posts: 3613
Loc: Toronto ON, Canada
On what basis will you distinguish those items? What do they have in common?
_________________________
Bruce Gardner
ARX Business Solutions Inc.

Top
#27628 - 06/13/11 10:57 AM Re: Gridview - Setting Filter [Re: Bruce Gardner]
Barb9 Offline
Adagio Prodigy

Registered: 03/06/06
Posts: 273
Loc: Langley
The items number:

For example,from the range of number 150112204 to 150922002, in between the number 150822205 to 150842962 to be excluded from the list.

Thanks.

Top
#27629 - 06/13/11 11:08 AM Re: Gridview - Setting Filter [Re: Barb9]
Ryan Brohman Offline
Adagio Pro

Registered: 01/03/07
Posts: 10
Loc: Waterloo, Ontario
Try this:

AND(
{Item #} >= QUERYSTRING("Enter Starting Item Code"),
{Item #} <= QUERYSTRING("Enter Ending Item Code"),
{Item #}<>"150822205",
{Item #}<>"150842962"
)


If you need to exclude any more, just keep adding "{Item #}<>..." conditions.
_________________________
Ryan Brohman

Kitchener, ON


Top
#27630 - 06/13/11 11:44 AM Re: Gridview - Setting Filter [Re: Ryan Brohman]
Barb9 Offline
Adagio Prodigy

Registered: 03/06/06
Posts: 273
Loc: Langley
Unfortunately, I cannot get it. It seems like it read only the first two lines setting not the last two line with the "<>" sign.

Thanks.

Top
#27631 - 06/13/11 11:57 AM Re: Gridview - Setting Filter [Re: Barb9]
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11549
Loc: Vancouver, BC Canada
If your item numbers can be defined with more than 9 characters, there will be extra spaces in the item number value stored in the data, and thus the record selection that Ryan suggested would not work. If the way you want to select items is a 'pre-determined' way that will not change and you want to use the methods that Bruce and Ryan mentioned, you would have to modify specific item elimation by Trimming the item number of spaces:

AND(
TRIM({Item #}) >= QUERYSTRING("Enter Starting Item Code"),
TRIM({Item #}) <= QUERYSTRING("Enter Ending Item Code"),
TRIM({Item #})<>"150822205",
TRIM({Item #})<>"150842962"
)

If you want to be able to be able to select any combination of items for any rhyme or reason that is not 'pre-determined', then use Andrew's method to select the desired items in one view, and link them to a second view. The time it takes to multi-select the items will more than be saved in the processing time to do the filtering.

Make sure you check out the Adagio GridView Intro webinar to see how Filtering works.
_________________________
Regards,
Softrak Tech Support

Top
#27633 - 06/13/11 12:18 PM Re: Gridview - Setting Filter [Re: Barb9]
Bruce Gardner Offline
Adagio Wizard

Registered: 06/15/04
Posts: 3613
Loc: Toronto ON, Canada
If I understand correctly, you want to include:
150112204 to 150822205
150842962 to 150922002
Is that correct?
_________________________
Bruce Gardner
ARX Business Solutions Inc.

Top
Page 1 of 2 1 2 >


Moderator:  Christa_Meissner 
Who's Online
3 registered (Carol Wojick, 2 invisible), 59 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14467 Topics
70661 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