Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have one Master transaction let say
Key Details
K1 Acct_Details
Now I have 7 detail Transactions
Key Role Details
K1 Role1 Addr1
K1 Role2 Addr2
K1 Role3 Addr3
K1 Role4 Addr4
K1 Role5 Addr5
K1 Role6 Addr6
K1 Role7 Addr7
Now I want to shift rows. that is Role1 details will move to Role2 details, Role2 details will move to Role3 details.. in this way Role6 details will move to Role7 details. Also no of roles may vary , last one details will be deleted.
Please let me know your ideas how can I do this.
Thanks for Reply.. But the number of rows are not same all the time .. Max no is 7 .. If 7 does not exists the we can create a new role (Role 7) then we can shift. Also Role1/Role2 may have different Name like 'TSG' or 'TPA'. so Some thing like that..
Input:
K1 TSG Details1
K1 TPA Details2
K1 ROLE1 Details3
K1 ROLE2 Details4
K1 ROLE3 Details5
Output:
K1 TSG Details_New
K1 TPA Details1
K1 ROLE 1 Details2
K1 ROLE2 Details3
K1 ROLE3 Details4
K1 ROLE4 Details5