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?
DJPr0Asked:
Who is Participating?
 
hnasrConnect With a Mentor Commented:
In your sample database you have 12 columns.
Do you want to show all the records fitting the width of your monitor?
Explain more like:
1 open form
2 You see columns ID, ...
3 I want to see columns, ....
4 I want columns .... to be hidden
5 I want the column ... to fit the width of the display
......
0
 
hnasrCommented:
How to tell which column to delete?. This will change the table structure. Explain more.
0
 
DJPr0Author Commented:
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.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
Rey Obrero (Capricorn1)Commented:
use a query as record source of the form
in the query, DO NOT include those fields that are not used or empty
0
 
Rey Obrero (Capricorn1)Commented:
or open the form in design view and delete those controls
0
 
DJPr0Author Commented:
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
0
 
Rey Obrero (Capricorn1)Commented:
you only have a table in the the db, where is the form?
0
 
DJPr0Author Commented:
OK, form enclosed.
Database10.accdb
0
 
Rey Obrero (Capricorn1)Commented:
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
0
 
DJPr0Author Commented:
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.
0
 
Rey Obrero (Capricorn1)Connect With a Mentor Commented:
as i stated in my first post, create a query and use it as recordsource of the form

see the form query1, based on a query query1
Database10.accdb
0
 
Rey Obrero (Capricorn1)Commented:
@DJPro,

how did a set of questions got accepted as an answer to your question?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.