Newbie help again - data display
I have 6 columns in a table -
Name, Address1, Address2, Address3, Address4, ZipCode
Each entry in the table will always have a Name but won't necessarily have a value in every Address field
What is the best way to pull this data out and display it?
I currently have 5 labels which display the values from each column like so:
Mr Jones
Floor 2
23 Some Road
Sometown
Somehere
12345
But if there is an entry which has an empty column I get an ugly space:
Mr Jones
Floor 2
23 Some Road
Sometown
12345
I can't work out how to display data from the 4 different address columns in one object so that this empty space doesn't appear.
I'm sure this is easy but I can't se hwo to do it.
|