Solved

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

Posted on 2014-01-02
4
348 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 (Access MVP)
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 (Access MVP) 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

751 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