Avatar

Level 10

Hi Harry,

You could have a dropdown for all of the physical locations. Then in the exit event you could have a switch statement that would change the presence property of each table:

switch (this.rawValue)

{

     case "Clonmel":

     Table1.presence = "hidden";

     Table2.presence = "visible";

     Table3.presence = "hidden";

     break;

     case "Cork":

     Table1.presence = "visible";

     Table2.presence = "visible";

     Table3.presence = "hidden";

     break;

}

Hidden will exclude the table from the layout, so that if the page is set to flowed, then the other tables will move up to take up the space.

Hope that helps,

Niall