473,486 Members | 1,932 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Change Text color dynamically

Alireza355
86 New Member
Dear all,

I remember having an old MS-DOS accounting application, that viewed numbers in different collors for each thousand seperator. for example:

12,345,233,678,000

the 000 was for example in black
768 was in red
233 was in yello
345 was in blue
12 was in orange

is this possible in access 2003 datasheets and textboxes??????????
Apr 19 '09 #1
6 3427
ADezii
8,834 Recognized Expert Expert
@Alireza355
To the best of my knowledge, this cannot be done in any Access Versions prior to 2007 without using an External ActiveX Control. I think Access 2007 natively supports the Rich Text Format, where this would then be possible. I'm sure that other Members will soon shed more light on your question.
Apr 19 '09 #2
missinglinq
3,532 Recognized Expert Specialist
It would, as has been said, require using RTF, and I'm not sure that that's available, even in 2007, for Datasheets.

Linq ;0)>.
Apr 19 '09 #3
mshmyob
904 Recognized Expert Contributor
Actually Rich Text is only supported in Memo fields and not text fields in AC2007. As previously noted I have never seen it done natively in Access.

cheers,
Apr 19 '09 #4
missinglinq
3,532 Recognized Expert Specialist
I don't run 2007 and thus can't check it myself, but Allen Browne, who's usually correct, lists this as being available in all textboxes, whether bound to bound/unbound text fields or Memo fields.

http://allenbrowne.com/Access2007.html

Linq ;0)>
Apr 20 '09 #5
mshmyob
904 Recognized Expert Contributor
You are quite correct Linq. I just tried it and it works. I was going by a MS article that indicated only Memo fields set in a table had the functionality. I had never actually tried an unbound text box but as you say it works perfectly.

I just wish MS had incorporated HTML image functionality. I needed that for a project but am currently using a browser control.

Thanks for the extra info.

cheers,


@missinglinq
Apr 20 '09 #6
ADezii
8,834 Recognized Expert Expert
You could actually perform a 'cheap imitation' with multiple, properly Aligned and Formatted Text Boxes, some trick coding, but I don't know that it would be worth the effort. If you are interested, I can post a simple Demo.
Apr 21 '09 #7

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

Similar topics

10
9088
by: TheKeith | last post by:
I don't know much about javascript, so take it easy on me. Is there a way to dynamically change a CSS layers dimensions on the fly. Here is what I'm doing. I have a bunch of thumbnails that when...
1
2052
by: Amir Eshterayeh | last post by:
Dear Friends I need to change the css file of my aspx files dynamically so users can choose their css file names and when page loads, it read css file name from database. I try to use...
4
23934
by: michael | last post by:
I have an html text string within a div, eg.: <div id="example">Text text text</div> I know its easy to change styles by using getElementById - for example: ...
7
2905
by: juglesh | last post by:
Hello, I would like to be able to have the user sort a list of items similarly to the way you sort your queue on Netflix.com. (the numbers dont change dynamically on netflix, they must be doing...
5
45914
by: coolsti | last post by:
Can someone tell me how to do this if it is possible? I have a table based web site, and I would like to dynamically change the text that is shown in a particular cell of a table. I give the cell...
3
5561
by: Roman Gordin | last post by:
Hi, I use SVG for web-GUI, but found some serious restrictions 8-( When I use HTML (dynamically generated from .php), I may use HTTPRequest object to provide dynamically regeneration some part...
2
4756
by: Amir Eshterayeh | last post by:
Dear Friends I want to change the name of my css file dynamically so as Mr. Jos Branders helped me, I can change the <head> tag into an HTML control like this: <head id="myhead" runat="server">...
6
5547
by: Guogang | last post by:
Hi, is there a way to change the page's title in code behind (C#)? I want to change this part: <HEAD> <TITLE> Can be changed dynamically. </TITLE> </HEAD> Thanks, Guogang
4
6122
by: sid derra | last post by:
hi i am trying to change the value of a text field on my page dynamically, every time an iframe loads. #========== the code where the text field is looks like this: <form...
8
2327
by: miladhatam | last post by:
can i change the size of a file dynamically ? for example have 100 Kb and i want to decrease it to 20 Kb thanks
0
6964
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
7123
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,...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5430
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.