Filter logic

HI all,
I am saving the layout with filter. My requirement is when we run the report , the excel should come as per filter in  the layout. Before comeing to 'reuse_alv_grid_disaply', my excel sheet is coming to my inbox. . Filter is woking in report output, but it is not happening in excel sheet because ALV filter technique was not before we downlaod the excel sheet . if you undersatnd the requiremt please help me in this.
regards,
Aj

Hi gurus,
I am using the function module LT_DBDATA_READ_FROM_LTDX for filedcat and filter .
This FM is captuing the filter fileds and data in filter_table. depending on this i need to delete data from <b>it_final_data</b>. But i want to do this dynamic , Every time the filter fiedls are chaging depending on the layout. Before this I am saving the layout with filter. please help me in this.
regards,
Aj

Similar Messages

  • FILTER logic getting jumbled when GENERATED...

    Environment:
    OWB10g Client on Windows XP Professional
    Repository - 9.2.0.4 on UNIX (AIX 5.2)
    Target - 9.2.0.4 on UNIX (AIX 5.2)
    I have a FILTER operator with the following in it:
    ( INOUTGRP1.ORDER_TYPE_PDDCTO = 'RX' And trunc ( INOUTGRP1.TRANSACTION_DT_PDTRDJ ) = trunc ( sysdate ) And trunc ( INOUTGRP1.FP_NEED_DT ) &lt;= trunc ( INOUTGRP1.REQUEST_DT_PDDRQJ ) ) Or ( INOUTGRP1.LINE_TYPE_PDLNTY IN ( 'S','DM' ) And INOUTGRP1.STOCKING_TYPE_IBSTKT = 'P' And INOUTGRP1.UNITS_OPEN_PDUOPN &gt; 0 And INOUTGRP1.ORDER_TYPE_PDDCTO = 'O3' And trunc ( INOUTGRP1.SCHED_PICK_DT_PDPDDJ ) &lt; trunc ( sysdate ) )
    It is an 'OR' between two separate sets of logic.
    When the mapping is Generated the above code comes out like this:
    WHERE -- ( = )
    AND
    -- ( = )
    AND
    -- -- -- -- -- -- -- -- -- ( ( = 'RX' And trunc ( ) = trunc ( sysdate ) And trunc ( ) &lt;= trunc ( ) ) Or ( IN ( 'S' , 'DM' ) And = 'P' And &gt; 0 And = 'O3' And trunc ( ) &lt; trunc ( sysdate ) ) )
    Can someone please tell me where in the %#^#* OWB is getting the above logic to translate my FILTER into the above gibberish?
    This produces a 'PL/SQL: ORA-00936: missing expression' error on that line when I try to deploy it.
    Also, on a related note that I saw a thread on earlier but can't find now, how do I get the FILTER operator to retain my CR/LF in the expanded expression of the filter?
    The tag at the bottom of the expression window, where it shows the Line and Column numbers, shows WINDOWS:CR/LF which I thought I had read would retain the CR/LF's I put in the expression to make it easier to read rather than having to scroll to the right 27 miles.
    Deep breath.
    Deep breath.
    Deep breath.
    Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm.
    Ommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm.
    I'm OK now.
    Any help is greatly appreciated. ;-)&gt;
    Gary

    Good morning Gary,
    I remember we had the CR/LF discussion earlier, maybe it's 10g that wrecks it, got 9.2.0.4 here which works flawlessly in that sense.
    Got 10g on my laptop (of course not with me right now) but basically the only thing that bugs me there is some nasty behaviour of not showing the entire 'picture' of a mapping any more after there have been some popups (like context or property menu) in the front.
    Tip: if you want to show code in a thread use [ code] and /code] to mark it (in lowercase, without the space after the [, otherwise it would not show), e.g.:[code]
    ( INOUTGRP1.ORDER_TYPE_PDDCTO = 'RX' And trunc ( INOUTGRP1.TRANSACTION_DT_PDTRDJ ) = trunc ( sysdate ) And trunc ( INOUTGRP1.FP_NEED_DT ) <= trunc ( INOUTGRP1.REQUEST_DT_PDDRQJ ) ) Or ( INOUTGRP1.LINE_TYPE_PDLNTY IN ( 'S','DM' ) And INOUTGRP1.STOCKING_TYPE_IBSTKT = 'P' And INOUTGRP1.UNITS_OPEN_PDUOPN > 0 And INOUTGRP1.ORDER_TYPE_PDDCTO = 'O3' And trunc ( INOUTGRP1.SCHED_PICK_DT_PDPDDJ ) < trunc ( sysdate ) )
    I was about to ask you what happens if you apply this code without any CR/LF in it, but I guess you've tried that?
    Could be the OR is the culprit here. As a workaround maybe you want to try out some Boolean algebra to get rid of the OR. If memory serves me well:
    (A.B)+(C.D) equals
    NOT(NOT((A.B)+(C.D))) equals
    NOT(NOT(A.B).NOT(C.D))
    hence NOT(
    NOT( INOUTGRP1.ORDER_TYPE_PDDCTO                   = 'RX'
      AND TRUNC ( INOUTGRP1.TRANSACTION_DT_PDTRDJ ) = TRUNC ( SYSDATE )
      AND TRUNC ( INOUTGRP1.FP_NEED_DT )           <= TRUNC ( INOUTGRP1.REQUEST_DT_PDDRQJ )
    AND
    NOT( INOUTGRP1.LINE_TYPE_PDLNTY IN ( 'S','DM' )
      AND INOUTGRP1.STOCKING_TYPE_IBSTKT = 'P'
      AND INOUTGRP1.UNITS_OPEN_PDUOPN > 0
      AND INOUTGRP1.ORDER_TYPE_PDDCTO = 'O3'
      AND TRUNC ( INOUTGRP1.SCHED_PICK_DT_PDPDDJ ) < TRUNC ( SYSDATE )
    )An other option would be to use an expression operator to build a status 'column', and in this expression you build the filter logic with a case statement. Next, in the filter you use the status input to filter records.
    Hopefully one of Oracle's own OWB-guys will be looking at this forum soon (if I use JP Dijcks as benchmark, they haven't since 28th of January) and give an answer on whether your noticed behaviour is a bug.
    Good luck, Patrick

  • PQ Salesforce objects filter logic

    Hi everyone!
    Is it possible to create filter logic in power query, similar to filter logic in salesforce reporting, when using the salesforce object connector?
    My organization has over 60k accounts and I would only like to pull a subset of those projects. I typically do this in the salesforce report but the salesreport connector has a limit of 2,000 rows. 
    Thanks in advance for your help!

    Hi Curt, I think the custom filtering on salesforce table/reports are important. We are using the PQ to extract the data from salesforce on the daily bases and it is painful to load large account / tasks tables. What we need is to filter on the SystemModstamp
    (or any other time-stamp) field to bring only last 3 days changed data.

  • Sun idm LDAP Search Filter, logical operations.

    Hi
    Can any body please give me the solution on LDAP Search Filter
    I need to get all the users from a LDAP
    Whose attribute1 contains any of the values like (abc, bbc)
    OR
    Whose attribute2 contains any of the values like (xyz, yxz)

    we got the solution
    (|(|(attr1=abc)(attr1=bbc))(|(attr2=xyz)(attr2=yxz)))
    finally this worked.

  • Filter logic in ALV

    Hi all,
    I am using the Function module "LT_DBDATA_READ_FROM_LTDX" . by using this I am creating the dynamic sort.
    any body help me in this.
    regards,
    Aj

    Sorry, I didnt get your issue clearly.
    Do you mean that you would like to download the ALV report to Excel and Filter should be applied in EXCEL sheets? If so could you please let me know what Function module you are using to download to Excel?
    Regards,
    Lijo Joseph

  • Smart Album & search filter logic

    Has anybody found a way to do more sophisticated Smart Album creation or search filters within Aperture other than the very simplistic methodology we appear to be limited to of for example keyword search with only two choices of "containing one or more", or "contains all"? I have tried hard to find a better way and am concluding it is a limitation in the current release.
    I'm thinking hear of some of the multiple criteria smart folder/album/search options that even an relatively modest product like iPhoto offers, for example keyword "contains xxx", "does not contain yyy", "begins with aaa" etc.
    Thanks
    Dave
    G5 Dual 2.3Ghz, 6Mb RAM, NV6800 Ultra   Mac OS X (10.4.4)  

    Has anybody found a way to do more sophisticated
    Smart Album creation or search filters within
    Aperture other than the very simplistic methodology
    we appear to be limited to of for example keyword
    search with only two choices of "containing one or
    more", or "contains all"? I have tried hard to find
    a better way and am concluding it is a limitation in
    the current release.
    Yes - what you do is add a new "CUstom Metadata" criteria (I forget the exact name but it's something like that). You then change the dropdown for the metadata type to "IPTC"...
    You can then use keywords in searches with much more complex logic around them, like the "contains" and "begins with" you are looking for. It does not fill in keywords for you but it offers a lot more options for criteria.

  • Filter logic for delivery output.

    Hi,
    When we try to display the delivery outputs generated for a delivery header from VA02 Tcode, sometimes the list of outputs displayed there is not the same as that found in table NAST. The number of records displayed in the Tcode is sometimes less than that in the NAST table.
    I debugged the Tcode VA02 to find out the logic which is used to do the filtering of these entries. However, i couldn't get the required logic.
    Kindly help.

    Hi,
    I guess the problem might be due to the Date and Time on which status record was created i.e. NAST-ERDAT & NAST-ERUHR.
    Regards,
    Danish.

  • Effects of Filter Logic on Performance/Load Time

    Hi everyone,
    I need to know if the following 2 logic staements/filters are different and whether it would cause a difference in the performance/loading time of the report.
    1. *{* 1 AND 2 AND +[+ _(3 AND 4)_ OR _(5 AND 6)_ OR _(7 AND 8)_ OR _(9 AND 10)_ +]+ *}*
    2. *{* _(1 AND 2 AND 3 AND 4)_ OR _(1 AND 2 AND 5 AND 6)_ OR _(1 AND 2 AND 7 AND 8)_ OR _(1 AND 2 AND 9 AND 10)_ *}*
    This report is Active Reports (NOT Historical) and Category is Service requests.
    Fields:
    1 = SR Status
    2 = Indexed Picklist
    3,5,7,9 = Custom Checkbox
    4,6,8,10 = Custom Picklist (All 4 have same picklist values)
    Thank You for all the help.
    Gaurav
    Edited by: Gaurav Shah on Feb 8, 2011 12:38 PM

    More than likely not. The report performence is determind by how the DB parses the SQL or builds the execution plan, which is effected by indexed fields mostly. Therefore, using or not using a ID field give a day and night deference when used properly and changing how you write the statement makes no effect on performecne at all.

  • Change where clause filter based on prompt?

    Hi,
    I am trying to change my where clause filter based on a prompt selected. What I want to do logically looks like this - although it doesn't work as it is not valid case statement syntax:
    select *
    from table t
    where t.calc_result_info_key in (case when :product_prompt = 'GAS' then (310, 160, 4000)
                                     else (320, 330, 340, 350, 170, 180, 190, 200, 4010, 4020, 4030, 4040)  end)Is there any way to change filter logic like this?
    Edited by: dgouin on Sep 16, 2010 9:02 AM

    The good old ugly OR statement.
    select *
    from table t
    where
          t.calc_result_info_key in (310, 160, 4000)
             and
          :product_prompt = 'GAS'
       or
          t.calc_result_info_key in (320, 330, 340, 350, 170, 180, 190, 200, 4010, 4020, 4030, 4040)
       and
          (:product_prompt != 'GAS' or :product_prompt is null)
       )

  • XML data from a Web Service sometimes missing fields I need, any ideas on a trap?

    I get reports from our ERP via a web service to SSRS.  Just got asked to make a tweak in a report and find that the WebService only sends data that is needed for this transaction.  My issue is our entire system is based around EACH item we make. 
    New Trading Partner got Case Price.  We put two of our items together in a box for them is all that happened.
    Need to identify package column that had "ea" hard coded. 
    When I get a cs item there are more elements that identify conversion factor UOM etc.  They are only sent down for CASE items.  How do I trap for a column not being there 99.98555% of the time?
    _conv =  conversion factor.  I only receive it with a 2,4,6 in it whe4n the item is not an each. 
     =iif(Len(Fields!tcibd003_conv.Value) >0  , Fields!inh4470_qshp.Value / Fields!tcibd003_conv.Value , Fields!inh4470_qshp.Value  )
    How do I trap for this?  I tried Fields!tcibd003_conv.IsMissing but that didn't seem to work as expected.
    TIA

    Hello,
    Sorry, I cannot get your requirment and report design structure currently. Can you post the following information to us ? It is benefite us for further analysis.
    1. The fields in your dataset. You can post the dataset with sample data if it is convenient.
    2. The Report design structure: Table or Matrix and Group inforamation
    3. It seems that you want to filter the report data based on a expression, please post more details about the filter logic and expected result.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Credit Memo to Export Declaration

    Hi,
    For returns we use the billing document type of a credit memo, this is posing us a challenge when it's an export return becuase  GTS  programmed in filter logic that credit billing doc types will not get passed to compliance/customs management.
    Specific doc types being filtered are O – Credit Memo, 4 – Credit memo list, 6 – Intercompany credit memo,  S – Credit memo Cancelation.
    Anyone have expereice/guidance on how to integrate? 2 current options being evaluated are enhancing the logic to allow a credit memeo to create an export declaration or introducing the pro-forma.
    Thanks, Jeff

    Hi Jeff,
    Please explain why it would make sense to create an Export Declaration for a return - thanks.
    Regards,
    Dave

  • Initial Transfer of Material Master to GTS

    Currently we are looking to transfer material master records(Initial) specific to only few plants as the GTS implementation is with respective to only a specific country. We have about 250,000 material master records from this plant but the MARA table in the feeder which stretches across multiple countries has a count of 4 Million.
    We intend to develop an enhancement around the user exit SAPLSLL_LEG_PRR3_002 to support this requirement.
    Is there a way to transfer this data without an enhancement only restricting to specific plants? My understanding is this would be an issue which is  common to implementation teamsas usually only one or few countries go live on GTS per release.

    Hi,
    You will have to code this filtering logic in the user exit that you had mentioned. There is no standard delivered solution for this.
    Btw, when you say you are going to use initial transfer option any other specific reason for looking into filter logic?
    Selection screen of initial transfer has material number as input. Why not download ur 250000 product and transfer those in chunks. Just a QN.
    But filtering material transfer is possible with enhancement.
    Regards
    Dhilipan

  • Navigating from Summary Report to Detail Report in OBIEE 11g

    Hi,
    I have creted two reports.One corresponds to Summary and the other Detail.By clicking on one of the fields in
    the Summary report the values are captured and then the detail report is displayed based on the values selected.
    Now,What I need to know is whether I can populate the values I have selected in Summary Report(values correspond to only a single field) as some text in the Detail report.
    I am using 11.1.5 just in case you need to know,but any help would be greatly appreciated.
    Regards
    Navin.G

    another way if you want to stay in one document and continue to use drilling is to build 2 blocks and hide/unhide as you drill
    block1 - shows your totals
    block2 - shows the details
    then use block hiding (see below) to cause block1 to disappear when you drill past a certain level. using the same (but opposite logic) you would have block2 appear
    block hiding in webi - how to:
    sadly webi doesnt have this feature directly the way that Crystal does but you can emulate it using SHOW WHEN EMPTY,block filtering and DrilFilters. The latter detects your level of drill.
    block1 filter formula - return a TRUE result when DrillFilters tell you that you havent drilled into detail yet. Set SHOW WHEN EMPTY=No
    when you do drill Block1's formula will be FALSE, the block will then technically be EMPTY and therefor wont show
    Block2's filter logic will return FALSE when DrillFilters tells you that you are still on Block1's level of drilling. But when you drill Block2's level of drill, DrillFilters in Block2's filter formula will return TRUE and its rows will be returned. It wont be empty so it will show.

  • Subquery conditional execution using cbo

    hellou
    how i do for execute a subquery conditionally, using the cbo??
    i got an example:
    create table table1 AS
    SELECT * FROM (
        SELECT 1 id, 'a' boss FROM dual
       union all
        SELECT 3 id, 'b' boss FROM dual
       union all
        SELECT 5 id, 'a' boss FROM dual
       union all
        SELECT 7 id, 'b' boss FROM dual
       union all
        SELECT 9 id, 'a' boss FROM dual
    create index idx_table1 on table1(boss, id)
    create table table2 AS
    SELECT * FROM (
        SELECT 2 id, 'b' boss FROM dual
       union all
        SELECT 4 id, 'a' boss FROM dual
       union all
        SELECT 6 id, 'b' boss FROM dual
       union all
        SELECT 8 id, 'a' boss FROM dual
       union all
        SELECT 10 id, 'b' boss FROM dual
    create index idx_table2 on table2(boss, id)
    CREATE OR REPLACE FUNCTION print_hi
        isb in varchar2
    return number
    IS
    BEGIN
        dbms_output.put_Line(isb);
        return 0;
    END;
    -- the query !!!!!!!
    with data AS
        SELECT
        FROM (
            -- subquery #1
            SELECT
                1 query_name,
                id pibot,
                boss
            FROM table1
            WHERE print_hi(id) = 0
           union all
            -- subquery #2
            SELECT
                2 query_name,
                id pibot,
                boss
            FROM table2
    SELECT
        pibot + query_name / 10 pibot
    FROM data
    WHERE 1 = 1
        AND boss = :boss
        AND (
            query_name = :q
            AND pibot > :p
           OR query_name > :q )
        AND rownum <= 3i want than only the query #2 be executed.
    the query #1 print data in the screen when is executed (for the function print_hi).
    now i execute the query with the variables data as:
    boss = 'a'
    q = 2
    p = 0
    when i execute the query using rules, then not print anything in the screen.
    when i execute the query using costs, then print 1 5 9 in the screen. this means than the query #1 is being executed when this should not
    help .. tx
    SELECT * FROM v$version
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Prod
    PL/SQL Release 10.2.0.5.0 - Production
    CORE10.2.0.5.0Production
    TNS for Linux: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production

    As often is, the predicates section of the execution plan is quite revealing on this one.
    Take your original query
    explain plan for
    with data AS
    (SELECT *
    FROM (-- subquery #1
           SELECT 1 query_name,id pibot,boss
           FROM table1
           WHERE print_hi(id) = 0
           union all
            -- subquery #2
           SELECT 2 query_name,id pibot,boss
            FROM table2))
    SELECT pibot + query_name / 10 pibot
    FROM   data
    WHERE  1 = 1
    AND    boss = :boss
    AND   (query_name = :q
    AND    pibot > :p
    OR     query_name > :q )
    AND    rownum <= 3;
    select * from table(dbms_xplan.display);gives
    | Id  | Operation           | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT    |            |     2 |    38 |     2   (0)| 00:00:01 |
    |*  1 |  COUNT STOPKEY      |            |       |       |            |          |
    |   2 |   VIEW              |            |     2 |    38 |     2   (0)| 00:00:01 |
    |   3 |    UNION-ALL        |            |       |       |            |          |
    |*  4 |     INDEX RANGE SCAN| IDX_TABLE1 |     1 |    16 |     1   (0)| 00:00:01 |
    |*  5 |     INDEX RANGE SCAN| IDX_TABLE2 |     1 |    16 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(ROWNUM<=3)
       4 - access("BOSS"=:BOSS)
           filter("PRINT_HI"(TO_CHAR("ID"))=0 AND (1>TO_NUMBER(:Q) OR
                  1=TO_NUMBER(:Q) AND "ID">TO_NUMBER(:P)))
       5 - access("BOSS"=:BOSS)
           filter(2>TO_NUMBER(:Q) OR 2=TO_NUMBER(:Q) AND "ID">TO_NUMBER(:P))Assuming that the FILTER logic in STEP 4 is followed to order, it's not then possible with this query as is to short-circuit the evaluation of PRINT_HI as it is evaluated first.
    When you make a change (just to q not necessarily to boss as well)
    from
    query_name = :qto
    query_name = 2You'll hopefully notice the difference in predicate evaluation with the extra filter step:
    | Id  | Operation             | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT      |            |     2 |    38 |     2   (0)| 00:00:01 |
    |*  1 |  COUNT STOPKEY        |            |       |       |            |          |
    |   2 |   VIEW                |            |     2 |    38 |     2   (0)| 00:00:01 |
    |   3 |    VIEW               |            |     2 |    38 |     2   (0)| 00:00:01 |
    |   4 |     UNION-ALL         |            |       |       |            |          |
    |*  5 |      FILTER           |            |       |       |            |          |
    |*  6 |       INDEX RANGE SCAN| IDX_TABLE1 |     1 |    16 |     1   (0)| 00:00:01 |
    |*  7 |      INDEX RANGE SCAN | IDX_TABLE2 |     1 |    16 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(ROWNUM<=3)
       5 - filter(1>TO_NUMBER(:Q))
       6 - access("BOSS"=:BOSS)
           filter("PRINT_HI"(TO_CHAR("ID"))=0)
       7 - access("BOSS"=:BOSS)
           filter("ID">TO_NUMBER(:P) OR 2>TO_NUMBER(:Q))

  • Need an applecript to copy filtered cells from a Numbers table to another Numbers file

    Hi,
    I would like to be able to build a new table in an existing file based on a filtered selection.
    My file covers the whole year and have many more columns but let's make a short example:
    Starting table: Table 1 Sheet 1 file 1
    Date
    Quantity
    Price
    Action
    Port
    10/3/2014
    1050
    100
    IN
    Venice
    11/3/2014
    35
    104
    CES
    Venice
    16/3/2014
    2045
    90
    IN
    Barcelona
    21/3/2014
    545
    9
    CUS
    Barcelona
    25/3/2014
    50
    123
    CES
    Venice
    28/3/2014
    50
    21
    CUS
    Rome
    I would like to have on a separte file(table 1 Sheet 3 File 2) a table like this (filtered by Action: IN + CUS and Port: Venice + Barcelona)
    Date
    Quantity
    Price
    Action
    Port
    10/3/2014
    1050
    100
    IN
    Venice
    16/3/2014
    2045
    90
    IN
    Barcelona
    21/3/2014
    545
    9
    CUS
    Barcelona
    Any help?

    Although I would have preferred to have a script beacuse the data origin file - let's call it STORAGE - is already quite heavy and I would like to use the filtered data on a separate file - let's call it MANAGEMENT - for further analysis and integration with other data coming from other STORAGE files and from other company areas.
    Hi Paolo,
    Below is a script that should do what you want. (Tested in Numbers 3.2). Copy into AppleScript Editor, set up the Numbers documents as indicated (or change the script to match your document setup), and click the green triangle 'Run' button.
    It assumes you have both the source document ("Storage.numbers") and target document ("Management.numbers") open and that you have already set up the target table with 1 header row.  You can change your filter columns and values and filter logic where indicated.
    For simplicity (and also to avoid apparent Numbers bugs in removing rows via AppleScript) I assumed the user will manually check to make sure that the target table does not contain too many rows. It needs at least 2 rows to work properly as the results are inserted starting in cell A2 (which can be changed as needed).
    SG
    --filters a table and passes the results to an existing table in the same or different document
    --set filter column and values to filter for here:
    property filter1 : {colNum:4, filterFor:{"CUS", "IN"}}
    property filter2 : {colNum:5, filterFor:{"Barcelona", "Venice"}}
    --set properties of source's and target's document, sheet, table here:
    property source : {d:"Storage.numbers", s:"Sheet 1", t:"Table 1"}
    property target : {d:"Management.numbers", s:"Sheet 1", t:"Table 1"}
    tell application "Numbers"
              activate
              set filteredList to {}
               --load source table's values into a list of lists
              try
                        set valuesList to value of document (source's d as string)'s ¬
                                  sheet (source's s as string)'s table (source's t as string)'s ¬
                                 rows's cells
              on error
                        display dialog "Having trouble. Does your source document, sheet, and table exist?"
              end try
               --create filtered list of lists
              tell valuesList to repeat with anItem in items
                        --if needed, logic can be changed to 'not in', etc.
                        set satisfiesFilter1 to anItem's item (filter1's colNum) is in filter1's filterFor
                        set satisfiesFilter2 to anItem's item (filter2's colNum) is in filter2's filterFor
                        --if needed, logic can be changed here to 'or', etc.
                        if satisfiesFilter1 and satisfiesFilter2 then ¬
                                  copy anItem's items to end of filteredList
              end repeat
              if (count filteredList) = 0 then display dialog "No rows meet your criteria" buttons "Cancel"
               --load values into target table (in this or another document, as specified in properties above)
              try
                        tell document (target's d as string)'s sheet (target's s as string)'s ¬
                                  table (target's t as string)
                                 --load the values into the cells starting at cell A2:
                                  set pasteStr to ""
                                  set {oTid, AppleScript's text item delimiters} to {AppleScript's text item delimiters, tab}
                                  repeat with anItem in filteredList's items
                                            set pasteStr to (pasteStr & anItem as string) & return
                                  end repeat
                                  set the clipboard to pasteStr
                                  set the selection range to cell "A2" --assumes 1 header row
                                  tell application "System Events" to keystroke "v" using {option down, shift down, command down}
                        end tell
              on error
                        display dialog "Having trouble. Does your target (destination) document, sheet, and table exist?"
              end try
    end tell
    --end of script

Maybe you are looking for

  • Album art not tagged properly iPhone 4

    In iTunes, ALL my songs have their album art covers TAGGED PROPERLY! Upon transfer to iPhone, the art covers are NOT Synced/Tagged properly as the art covers of songs uses art covers from other songs! EVERY TIME I correct this, it still is messed up!

  • Double buffering && repaint

    Hi there, I have a frame F that contains two panels P1 and P2. P1 uses double buffering for drawing circles and lines. P2 has buttons and a JList. When i click on a JList to have popup menu or when i move the frame F on the screen the panel P2 lost s

  • I can not sync my Iphone 4s IOS 7.1 calender with macbook pro os X

    Hello, i need some help, my iphone 4s won't sync the calender items with my macbook pro. In both devices i use the same user and id's Please help

  • Block Text

    Can you block text on the Curve 9310? I get text messages every day trying  to sell me apps for my phone.

  • Counter Error

    MultiSim 10.0.343 Student Edition running in XP Created the tutorial example MyGettingStarted. Returns a simulation error after the counter counts up to 2.  Ran "Getting Started 2.ms10" from the "Getting Started" folder, and it ran fine. Checked all