473,378 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Set background color of a column in a subform in datasheet view

Hi All,

Access 2003.
I would like to indicate required fields with a special background
color. Easy for parent forms, but I also have several subforms in
datasheet view. For those, I would like to color the vertical column
in the special background color. The Infragistics grid control can do
that for my VB6 applications.

Am I correct in assuming Access can't do this?

Things I tried that don't seem to be the answer:
Format > Datasheet works for the subform as a whole.
Conditional formatting (CF) works at the row level. Perhaps it can be
rigged to do what I want. Another concern about CF is that it
noticably lags behind the form display.

Thanks,

-Tom.

Jan 5 '06 #1
2 8467
Tom, AFAIK, conditional formatting is the simplest option.
Use:
Expression True
and the expression will be true for all recrords.
There still is a delay.

If there is another possibility, www.lebans.com would be the place to find
anything graphical like this.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Tom van Stiphout" <no*************@cox.net> wrote in message
news:qq********************************@4ax.com...
Hi All,

Access 2003.
I would like to indicate required fields with a special background
color. Easy for parent forms, but I also have several subforms in
datasheet view. For those, I would like to color the vertical column
in the special background color. The Infragistics grid control can do
that for my VB6 applications.

Am I correct in assuming Access can't do this?

Things I tried that don't seem to be the answer:
Format > Datasheet works for the subform as a whole.
Conditional formatting (CF) works at the row level. Perhaps it can be
rigged to do what I want. Another concern about CF is that it
noticably lags behind the form display.

Thanks,

-Tom.

Jan 5 '06 #2

"Tom van Stiphout" <no*************@cox.net> wrote
Access 2003.
I would like to indicate required fields with a special background
color. Easy for parent forms, but I also have several subforms in
datasheet view. For those, I would like to color the vertical column
in the special background color. The Infragistics grid control can do
that for my VB6 applications.


Tom, I suggest you not, repeat not, use datasheet view.

Use continuous forms view, and since it is entire columns you want to color,
you can set the BackColor property for the partcular Control. The problem
with using BackColor is that it will apply to every visible instance of that
Control... e.g., you can't make it apply to just selected Rows, but it
_will_ apply to the whole Column.

Larry Linson
Microsoft Access MVP

Jan 10 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: ivan | last post by:
I have a form (CustomerImfo) that has a subform within it (order). Within that subform is another subform (OrderDetail). That subform (OrderDetail) is displayed in Datasheet view. When I am...
4
by: MacDermott | last post by:
I have an Access 2000 form with a subform in Datasheet view. When I click on an item in the header of the subform (the title at the top of one of the columns), I'd like to be able to capture the...
5
by: Danny | last post by:
I am using a switchboard to load a form that I would like to display in datasheet view or table view. But it does not go into that mode when using the switchboard wizard to launche the form. is...
2
by: AgentX | last post by:
Is it possible, In a datasheet view subform, to change the backgound color based on the value in a particular field? For example if the field is Yes/No, have the background color red for No and...
1
by: Thomas Zimmermann | last post by:
I have a form with a subform in datasheet view. Now, I want to trigger a procedure (P1) each time the user selects an entire column (by clicking in the heading) in the subform. The procedure (P1) I...
7
by: Ken Mylar | last post by:
First a quick background on the form: I have a form that is normally viewed in Single form mode. It has a subform on it that is in datasheet view. The main form is for work orders and the...
3
by: informankur | last post by:
Hi All, I am trying to create a form for updating values. I have a Table - ASP with Date, Product, Q1,Q2,Q3,Q4 fields. I have a Form ASP_Main with "Date" field for filtering by the date selected....
0
by: clarkp73 | last post by:
Hi In VBA I populate an unbound subform (datasheet view) via a recordset that can be changed using filters selected by the user. The only problem I am having is that due to the unbound nature of...
0
by: cpStar | last post by:
I have a form & a subform. The main form will show info on the selected customer (qry based on tblCustomers). The subform will show all the parts this customer has purchased (qry based on...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.