Query

  • Hi
       I have below data 

    Table1
    NoDocumentNoLocationQtyPrice
    1AB-1
    1Ab-2Chd10100
    1Ab-2Delhi10100
    1Ab-3Delhi10100
    1Ab-3Bangalore10100
    1Ab-4Bangalore10100
    1Ab-4Chd10100
    2CD
    2CDbangalore20200
    2CDDelhi20200
    Result should be like below
    1Ab-1
    ab-2Chd10100Delhi
    ab-3Delhi10100Bangalore
    ab-4Bangalore10100Chandigarh
    2Cd
    CdBangalore20200Delhi
    Table2NoDocumentNoEntryNo
    10xyz1

    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-2Chd10100Delhi

    Why isn't it

    ab-2Delhi10100Chd

    ???

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

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