Solved

ACCESS 2007: Is there any way to keep columns in datasheet to remain hidden at all times?

Posted on 2014-01-02
4
352 Views
Last Modified: 2014-01-02
Hi

Is there any way I can keep hidden columns in a datasheet hidden at all times from the user? If so, how do I do that? Certain columns are not meant for human eyes.

Thanks
0
Comment
Question by:PBLack
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 48

Expert Comment

by:Dale Fye
ID: 39751358
Create a datasheet form, based on your table/query and don't include that field on the form.
0
 

Author Comment

by:PBLack
ID: 39751363
The problem with that solution is that I need those hidden columns to populate another form. I would have built it into the original design but the user wants certain stuff kept from certain eyes but wants the calculations based on the contents of hidden columns to populate another form.
0
 
LVL 48

Accepted Solution

by:
Dale Fye earned 500 total points
ID: 39751382
You should be able to keep the fields in the recordsource of the form, just don't put controls for that field on the form.  Then use code to reference the value of the fields that are in the recordsource, but not displayed on the form.

If you need certain users to see those fields, and others not, then create two different datasheet forms, one with the field(s), the other without.
0
 

Author Closing Comment

by:PBLack
ID: 39751386
Great idea.

Thanks!
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question