Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Posts
    2

    Unanswered: Finding Redundant Logic Ties

    Hello,

    I have two columns of data, Column "A" and Column "B". Every value that appears in "A" also appears in "B", but they appear in different columns different numbers of times. For instance say I have 1,000 values but 30,000 rows. Obviously at least one value has to appear in each column more than once. Value "X" may appear in Column "A" 500 times, but only twice in Column "B".

    Here's what I need to do. In the example below, activity 1 is succeeded by activity 2. Activity 2 is succeeded by activity 3. But, activity 3 is also shown as a successor to activity 1. This is redundant. If 3 can’t happen until after 2, and 2 can’t happen until after 1, it is redundant to say 3 can’t happen until after 1.


    ACTIVITY>>>SUCCESSOR

    1>>>>>>>>>>>>>2
    1>>>>>>>>>>>>>3
    2>>>>>>>>>>>>>3

    Could someone here help me set something up to identify this redundant logic?


    Thanks in advance,

    Jerry
    Last edited by airduds; 10-10-07 at 16:00.

  2. #2
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,424
    Provided Answers: 8
    Out join and inner Join

    in english

    in Query Design View

    With the 2 table Join the Feild with a Black line

    If you right click on the Black Line

    click Join prpoertes

    you have 3 option

    1 only include rows where the joined fields are the Same .....
    2 include ALL records from table1 ......
    3 include ALL records from table2 ......

    pick one

    reading the OPtion will make cents

    Then you can show all all the blank one in one of the tables

    EG

    A B
    1 >>>>> 1
    2 >>>>> 2
    3 >>>>> 4
    4 >>>>> 4
    5 >>>>> 6



    With the Right Join you can create a query that will show you

    number 3 is missing from table B
    hope this help

    See clear as mud


    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB based on my own environment: vb6 sp5
    ASP based on my own environment: 5.6
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    MYLE
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.

  3. #3
    Join Date
    Oct 2007
    Posts
    2
    Thanks for your reply. I forgot to say the two values in a row will never be the same.

    Does that make a difference?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •