473,385 Members | 2,014 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.

Using expression to change font colour on form tab..

Hello,

I was wondering if anyone could help me. I have an access form with
tabbed pages on it. I would like the colour of the tab name to change
when a user inputs information into the fields on the page, i.e when
they start a new record all the tabbed pages have their name in black
and when they input info into a page the font colour of the page name
turns to red. This is so that they can easily see if any pages have
not been updated.

I have tried using an expression to do this but have hit a brick wall,
I'm not good with VB code so I was trying to just use an expression or
macro using the event procedure when after a field is updated. Would
anyone know how I can do this?

Thanks in advance for any help you can give.

DNolan.
Dec 17 '07 #1
3 4224
On Mon, 17 Dec 2007 06:32:59 -0800 (PST), DNolan
<da*******@eircom.netwrote:

There is no way to do that with the standard tab control, unless you
use pictures. Perhaps an alternative would be to change the caption of
a tab after it has been completed: "Page 1 DONE", etc.

-Tom.

>Hello,

I was wondering if anyone could help me. I have an access form with
tabbed pages on it. I would like the colour of the tab name to change
when a user inputs information into the fields on the page, i.e when
they start a new record all the tabbed pages have their name in black
and when they input info into a page the font colour of the page name
turns to red. This is so that they can easily see if any pages have
not been updated.

I have tried using an expression to do this but have hit a brick wall,
I'm not good with VB code so I was trying to just use an expression or
macro using the event procedure when after a field is updated. Would
anyone know how I can do this?

Thanks in advance for any help you can give.

DNolan.
Dec 17 '07 #2
You might want to try out this link: http://www.fontstuff.com/access/acctut12.htm

It's a cool thing and it could be useful ;)

Manir
Dec 17 '07 #3
Many thanks for your replies guys!

The coloured tabbing looks very cool and is something I might use in
the future...

Tom, I was looking at using pictures too...as in when a user fills in
the fields on a tab page an embedded assess picture appears on the
tab, or even when they fill it in the picture is deleted. I could not
get the expression builder to do this, I was trying to use one of the
standard built in pic's that access has when you goto add one onto a
tab..say 'MS Access Form' Is there a way I could do that? Just add
that pic to the tab when the fields are filled in..

Thanks..

D.
Dec 17 '07 #4

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

Similar topics

6
by: Louise | last post by:
Hi I have written an HTML pages which does not have any colour specifying tags as far I know. When I view this in an Microsoft internet explorer browser it appears with a white background and...
14
by: Viken Karaguesian | last post by:
Hello all, It stinks being a newbie! One thing that I'm not sure about with CSS is: where is the "proper" place to put font attibutes? This has me a little confused. Take the below style sheet...
4
by: Dan | last post by:
Hi. I'm new to regular expressions, and have what I hope is a basic question. In the file that my code is parsing, some lines may look like :name:colour :name:colour and some lines may...
4
by: ACaunter | last post by:
Hi there, I was wondering if there was a way to change the font color of the text in the title bar... by default the title bar is that dark blue faiding into light blue and it has white text......
3
by: Simon Gare | last post by:
Hi, trying to hide zero values by changing the colour of the font, problem is it is still printing in a light grey colour? Code below but cant work out where it is going wrong. <td...
3
by: Bundy | last post by:
Hi How do I change the background colour of an input box in a form as soon as the value is changed? Also the background should revert back to it's original colour if the user decides that they...
3
by: Johny | last post by:
I use PIL to write some text to a picture.The text must be seen wery clearly. I write the text to different pictures but to the same position. As pictures maybe different, colour, in the...
0
by: Johny | last post by:
I use PIL to write some text to a picture.The text must be seen wery clearly. I write the text to different pictures but to the same position. As pictures maybe different, colour, in the...
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:
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.