Added regions query and idCode and region in mydata tab are now dynamically set.