Link to home
Start Free TrialLog in
Avatar of D J
D JFlag for United States of America

asked on

MS Access How can I delete empty columns?

Problem:
When viewing the table in a form, there are 10 extra columns which reflects the actual table.
(these columns are grayed out, not being used)

How can I delete the columns I'm not using?
Avatar of Hamed Nasr
Hamed Nasr
Flag of Oman image

How to tell which column to delete?. This will change the table structure. Explain more.
Avatar of D J

ASKER

There are a bunch of columns on the right of my table/form datasheet view grayed out, not being used. I would like to delete these blank columns to prevent scrolling to the right and seeing blank columns.

I will post an example if needed.
use a query as record source of the form
in the query, DO NOT include those fields that are not used or empty
or open the form in design view and delete those controls
Avatar of D J

ASKER

I not aware of any controls.

Sample attached - please look at the projects table - why is there a lot of scrolling to the right? This affects my form due to the scrolling coming along.

How do I eliminate all this blank space to the right?
Database10.accdb
you only have a table in the the db, where is the form?
Avatar of D J

ASKER

OK, form enclosed.
Database10.accdb
so which column you don't want to see?

open the form, right click on the column you don't want to see and select hide column

to resize wide columns select column size

save the form
Database10.accdb
Avatar of D J

ASKER

I want to view all of my columns - not the blank space to the right which causes scrolling.

If your monitor/window doesn't fit all of the columns being used it provides a lot of empty space to the right.
SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@DJPro,

how did a set of questions got accepted as an answer to your question?