I have an Access form in which I want to put a sub form. I want to show the data in the same format as the table and be able to hide or show certain columns using Access VBA code. The reason for this is that I have to show the sub form on several tabs where different columns are exposed on each tab.