Hi Nabil,
I modified my previous post.. but here's the new one. edited base on your requirements.
please also supply the condition value that corresponds to the loccode... this is a sample only you can modify it base on what you wanted.
local stringvar addrs;
if {RIN1.Loccode}= 'condition value' then addrs := 'your address 1';
if {RIN1.Loccode}= 'condition value' then addrs := 'your address 2';
if {RIN1.Loccode}= 'condition value' then addrs := 'your address 3';
if {RIN1.Loccode}= 'condition value' then addrs := 'your address 3';
addrs;