Query

  • Hi
       I have below data 

    Table1
    No DocumentNo Location Qty Price
    1 AB-1
    1 Ab-2 Chd 10 100
    1 Ab-2 Delhi 10 100
    1 Ab-3 Delhi 10 100
    1 Ab-3 Bangalore 10 100
    1 Ab-4 Bangalore 10 100
    1 Ab-4 Chd 10 100
    2 CD
    2 CD bangalore 20 200
    2 CD Delhi 20 200
    Result should be like below
    1 Ab-1
    ab-2 Chd 10 100 Delhi
    ab-3 Delhi 10 100 Bangalore
    ab-4 Bangalore 10 100 Chandigarh
    2 Cd
    Cd Bangalore 20 200 Delhi
    Table2 No DocumentNo EntryNo
    10 xyz 1

    If No from table1 exists in entryno in table 2 then it should add record . In my case there will be 7 + 1 record in Field No having value 1

    Thanks

  • Hi

    How are you doing with this?

    There is no obvious reason for the sequencing you show:

    ab-2 Chd 10 100 Delhi

    Why isn't it

    ab-2 Delhi 10 100 Chd

    ???

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply