[Last Call] Learn how to a build a cloud-first strategyRegister Now


Change backcolor in Access subform in Datasheet view

Posted on 2010-01-08
Medium Priority
Last Modified: 2013-11-28
I have researched and researched this, and something quite simple seems rather challenging.

We have many to many relationships setup between a contract and Regions and Manufacturers.  The subforms work great, but we want the background to be white to blend in with the rest of the form.  WE want the dark gray to be transparent or white.

We have scoured properties, and tried things like me.datasheetbackcolor =
on the On Open event of the subform.

Question by:sharpapproach
LVL 39

Expert Comment

ID: 26214134
You cannot change the color of the headers or record selector in the datasheet view. You can create a continuous form to look like a datasheet and change the colors of the headers for that. However you will still not be able to change the color of the record selector.
LVL 34

Accepted Solution

jefftwilley earned 500 total points
ID: 26235341
Here is a link to a Lebans Holding that shows you the way to change the Application back color ie. the Gray behind the DBI.


His code uses a form to change the color.

AFAIK, the only way to change the Datasheet Gray is to change the Application Gray.


Author Closing Comment

ID: 31674769

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
Sometimes MS breaks things just for fun... In Access 2003, only the maximum allowable SQL string length could cause problems as you built a recordset. Now, when using string data in a WHERE clause, the 'identifier' maximum is 128 characters. So, …
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

834 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