Solved

Change Forecolor of Text in Form View(Access97) in Continous form)

Posted on 2002-04-10
6
268 Views
Last Modified: 2010-05-18
Dear Expert;

  I have problem to ask you...If I have one text field in continuous form.It will show from Monday to Sunday.
Sample..;
Mon
Tue
Wed
Thu
Fri
Sat
Sun

 But Condition is that if date is Sunday, This fore color of text field in Form View will must be Red..

 It look like changing Fore Color in this text box... Please explain

Thank you so much
0
Comment
Question by:u3520384
  • 3
  • 2
6 Comments
 
LVL 9

Accepted Solution

by:
Volibrawl earned 100 total points
ID: 6932128
You can't change the color of a text box in a continuous form because ALL occurrences of that box will get the new formatting.

Here is something you can do.  Create 2 text boxes for the day.  One of the text boxes will be used to display "Sun" in red if the day is Sunday.  Otherwise it will not display anything.  The other text box will display the day normally, including Sunday.

In the "special" text box, format it to red forecolor and transparent back.  Then put this in the data source.

iif(textday="Sun","Sun","")

Put this box directly ON top of the REAL box, the red will Show OVER the normal Sun.

get the idea???

If you need to be able to EDIT the underlying box, this might be a problem as you will not be able to "get" to the underlying box.

In that case you could instead use a "changing" BACKCOLOR for the "special" box (Not the REAL box, that can't be done as stated before).
0
 
LVL 2

Expert Comment

by:Syed Irtaza Ali
ID: 6936185
Simple


Click on that text box and then in Format click on Conditional Formatting.

Now in Condition1 combo select Field Value is then next combo select equal to then in the text box type
'Sun'.

Now in the preview of format to use when condition is true; at the bottom select the Bold btn and the Font Color Red.

The press OK.

You got your calender Sunday's RED.

This is not Code Red but Wizard Red.


Nomi.
0
 
LVL 9

Expert Comment

by:Volibrawl
ID: 6936863
Conditional formatting of the kind described by Nomehero is NOT available in Access 97, only in Access2000.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 1

Expert Comment

by:Moondancer
ID: 7017028
ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101, Netminder or Mindphaser will return to finalize these if they are still open in 7 days.  Experts, please post closing recommendations before that time.

Below are your open questions as of today.  Questions which have been inactive for 21 days or longer are considered to be abandoned and for those, your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> YOU CANNOT DELETE A QUESTION with comments; special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
Please click this link for Help Desk, Guidelines/Member Agreement and the Question/Answer process.  http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Click you Member Profile to view your question history and please keep them updated. If you are a KnowledgePro user, use the Power Search option to find them.  

Questions which are LOCKED with a Proposed Answer but do not help you, should be rejected with comments added.  When you grade the question less than an A, please comment as to why.  This helps all involved, as well as others who may access this item in the future.  PLEASE DO NOT AWARD POINTS TO ME.

To view your open questions, please click the following link(s) and keep them all current with updates.
http://www.experts-exchange.com/questions/Q.11566339.html
http://www.experts-exchange.com/questions/Q.20123787.html
http://www.experts-exchange.com/questions/Q.20230729.html
http://www.experts-exchange.com/questions/Q.20249385.html
http://www.experts-exchange.com/questions/Q.20274528.html
http://www.experts-exchange.com/questions/Q.20287109.html
http://www.experts-exchange.com/questions/Q.20287123.html



*****  E X P E R T S    P L E A S E  ******  Leave your closing recommendations.
If you are interested in the cleanup effort, please click this link
http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643
POINTS FOR EXPERTS awaiting comments are listed in the link below
http://www.experts-exchange.com/commspt/Q.20277028.html
 
Moderators will finalize this question if in @7 days Asker has not responded.  This will be moved to the PAQ (Previously Asked Questions) at zero points, deleted or awarded.
 
Thanks everyone.
Moondancer
Moderator @ Experts Exchange
0
 
LVL 9

Expert Comment

by:Volibrawl
ID: 7017786
The question title did say 97 specifically and I think I am right , but  ... I could be wrong.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7033561
Thanks, finalized today by Moondancer - EE Moderator
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now