If the selected screen is A then Join all three tables. If the selected screen is B then do join on B & C tables. is it possible to handle