473,385 Members | 1,474 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,385 software developers and data experts.

text box back color on a continous form

56
Can I have a text box on a continous form called txty9 and say where the value is null make the backcolor = 16777215 esle make it 255.

I put this but the color stays white even when a item is enter in that field for a particular line.

So now I have 2 lines that have a value in txty9 but 11 are null. So 2 should be read and 11 should show white.


Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2.   If IsNull(Me.txtDone) Then
  3.     Me.txtDone.BackColor = 16777215
  4.   Else
  5.     Me.txtDone.BackColor = 255
  6.   End If
  7. End Sub
Feb 8 '07 #1
3 1600
nico5038
3,080 Expert 2GB
Continous forms have a will of their own.
Best to use the Conditional Formatting option from the Format menu.

Nic;o)
Feb 9 '07 #2
favor08
56
Continous forms have a will of their own.
Best to use the Conditional Formatting option from the Format menu.

Nic;o)
it only seems to read the first line.
Feb 9 '07 #3
nico5038
3,080 Expert 2GB
Conditional formatting will process all rows.
What are you using ?

Nic;o)
Feb 9 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Gertjan van Heijst | last post by:
Hi, I really hope someone can help me because I've already spend 2 days on this problem and I'm not getting anywhere. I think the problem is that I don't really understand how text boxes store...
1
by: adolph | last post by:
I would like to add a check box to the detail area of a continous form. So that I can check on specific records, then after I've marked all the records I watn to delte, click a button to loop thru...
0
by: gavo | last post by:
Hi. using A2K; i have a form containing a continous subform. The question is, how can i call a calculation for one of the fields in the continous subform from the main form. At the moment i...
0
by: ReidarT | last post by:
I have started to develop in vb.net. Earlier development was in MS-Access. I need a lot of continous forms to present data. The customer add and edits data in the continous form. Is use of...
1
by: Kev | last post by:
Hi, I am trying to total a column (Shift1) in a subform (continous forms) from the after update event of the (Shift1) column control within the subform. This column stores shift codes, I want to...
2
by: access baby | last post by:
How do i create continous form i created main form with subform drag and drop into main form but the subform shows me the 1st record of the customer . how can i link main form with subform i tried...
7
kcdoell
by: kcdoell | last post by:
Hello: I have a continous form that displays various forecasting records that an End user can add or edit the records (this feeds off of a query that I created called "ReQryForecast"). On that...
2
by: questionit | last post by:
Hi I know how to implement Continous form. In the method i have tried, the source for data on the continous form comes from table using SQL query Now, i want to try something different and i...
0
by: Skyshark102 | last post by:
I have a Form with a collection of subforms (continous) Each subform is one Calendar Day. I have three unbound text boxes on each subform first is txtEnrollers this number is input by the user. ...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.