Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 484
  • Last Modified:

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?
0
DJPr0
Asked:
DJPr0
  • 6
  • 4
  • 2
2 Solutions
 
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
 
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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)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
 
hnasrCommented:
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
 
Rey Obrero (Capricorn1)Commented:
@DJPro,

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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 6
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now