Solved

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

Posted on 2014-01-02
4
314 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
  • 2
  • 2
4 Comments
 
LVL 47

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 47

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now