Advertisement

04.28.2008 at 07:06AM PDT, ID: 23358731
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Public Case Select question
Tags: Microsoft, Office, 2003, Access
Hi Experts,

Please see attachment for print screens of my problem. Basically for each day of the week I will have a maximum of 5 fixed comments (entered on another form using a dropdown and only viewable on this form  (the comments are stored in a table).

Everytime a high risk comment appears on one of the days in the week a want it to be in red text i.e... '5. Is developing some knowledge and understanding of the work and is working at a basic level, towards the lower end of the ability range.'

You can see in my design view print screen that everyday has an attainment comment first, then an organisation comment etc.

What would the syntax be to change the text colors depending on the actualy text content and how would i call this function?

Tried to make this as clear as possible.
Attachments:
 
Print Screen
 
Start your free trial to view this solution
Question Stats
Zone: Microsoft
Question Asked By: deanlee17
Solution Provided By: Arthur_Wood
Participating Experts: 2
Solution Grade: A
Views: 0
Translate:
Loading Advertisement...
04.28.2008 at 07:33AM PDT, ID: 21454345

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 07:40AM PDT, ID: 21454411

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 07:47AM PDT, ID: 21454500

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 07:48AM PDT, ID: 21454504

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 07:57AM PDT, ID: 21454595

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 08:08AM PDT, ID: 21454696

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 08:14AM PDT, ID: 21454761

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 08:21AM PDT, ID: 21454830

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 08:48AM PDT, ID: 21455097

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 08:52AM PDT, ID: 21455128

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 08:53AM PDT, ID: 21455140

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 09:00AM PDT, ID: 21455197

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 09:02AM PDT, ID: 21455217

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 01:34PM PDT, ID: 21457378

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.28.2008 at 11:41PM PDT, ID: 21460051

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.29.2008 at 04:12AM PDT, ID: 21461114

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.29.2008 at 04:29AM PDT, ID: 21461184

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.29.2008 at 05:00AM PDT, ID: 21461318

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.29.2008 at 05:18AM PDT, ID: 21461434

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.29.2008 at 05:46AM PDT, ID: 21461628

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.29.2008 at 06:56AM PDT, ID: 21462274

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.29.2008 at 08:19AM PDT, ID: 21463099

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.02.2008 at 12:35AM PDT, ID: 21485069

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.02.2008 at 04:37AM PDT, ID: 21485808

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.02.2008 at 06:09AM PDT, ID: 21486292

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.06.2008 at 12:34AM PDT, ID: 21505395

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.06.2008 at 04:51AM PDT, ID: 21506423

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.06.2008 at 04:58AM PDT, ID: 21506451

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.06.2008 at 06:25AM PDT, ID: 21507055

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.06.2008 at 06:48AM PDT, ID: 21507241

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.06.2008 at 10:05AM PDT, ID: 21509050

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.07.2008 at 12:39AM PDT, ID: 21513889

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.07.2008 at 04:23AM PDT, ID: 21515139

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
04.28.2008 at 07:33AM PDT, ID: 21454345

Rank: Genius

look for { conditional formatting } from the access help.
see if this can be applied to your case.
 
04.28.2008 at 07:40AM PDT, ID: 21454411
Ok will have a look.....
 
04.28.2008 at 07:47AM PDT, ID: 21454500
With the conditional formatting i cant have it being equal to a text string, it will only accept =null or =notnull
 
04.28.2008 at 07:48AM PDT, ID: 21454504
This isnt workign but its what i had so far.....

Public Sub SetColor(testa As Control)
    Select Case testa & ""
        Case "1. Has developed a good knowledge and understanding of the work and is working towards the top of the ability range."
            testa.ForeColor = vbRed
            testa.FontBold = True
        Case "2. Has developed a reasonable knowledge and understanding of the work and is working well in the middle of the ability range."
            testa.ForeColor = 8962779
            testa.FontBold = True
        Case "3. Has developed an excellent knowledge and understanding of the work and is working at the top of the ability range."
            testa.ForeColor = vbGreen
            testa.FontBold = True
        Case "4. Is developing a basic knowledge and understanding of the work and is working towards the middle of the ability range."
            testa.ForeColor = vbBlack
            testa.FontBold = True
        Case "5. Is developing some knowledge and understanding of the work and is working at a basic level, towards the lower end of the ability range."
            testa.ForeColor = vbBlack
            testa.FontBold = True
    End Select
End Sub
 
04.28.2008 at 07:57AM PDT, ID: 21454595

Rank: Genius

did you select  { Expression Is }  ?

try this one too

http://www.lebans.com/conditionalformatting.htm
 
04.28.2008 at 08:08AM PDT, ID: 21454696
Yep i tried {expression is} but it wont allow comma's, so tried using a wild card and it doesnt allow them. Going to look at your link now..
 
04.28.2008 at 08:14AM PDT, ID: 21454761
That link does have good examples but it doesnt really seem to be what im looking for
 
04.28.2008 at 08:21AM PDT, ID: 21454830

Rank: Genius

where did you place the setcolor function?
 in the forms module or a regular module?
how are the values
{         "1. Has developed a good knowledge and understanding of the work and is working towards the top of the ability range."  }

retrieved?

might be better if you can zip your db and attach here.
 
04.28.2008 at 08:48AM PDT, ID: 21455097
Ok here is the database (it usually works with link tables, however for this form you shudnt need them...

http://www.area51.getsonmynurbs.com/dean.html

On the opening form goto 'add mentor comment'

select the mentor 'law'

Then the students name 'Amy Ashton' for the best example.

Many Thanks
 
04.28.2008 at 08:52AM PDT, ID: 21455128

Rank: Genius

here is a bit easier version of your Sub:


AW
 
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
Public Sub SetColor(testa As Control)
    Select Case Left(testa,1) 
        Case "1"
            testa.ForeColor = vbRed
        Case "2"
            testa.ForeColor = 8962779
        Case "3"
            testa.ForeColor = vbGreen
        Case "4"
            testa.ForeColor = vbBlack
        Case "5"
            testa.ForeColor = vbBlack
    End Select
    testa.FontBold = True
End Sub
Open in New Window
 
04.28.2008 at 08:53AM PDT, ID: 21455140

Rank: Genius

can't you use winzip instead of rar?
 
04.28.2008 at 09:00AM PDT, ID: 21455197
Yep, try the link again
 
04.28.2008 at 09:02AM PDT, ID: 21455217
Thanks Arthur,

So i can shorten a string to just the first character then? If you get time to download the db you will see what im getting at.

Thanks guys.

 
04.28.2008 at 01:34PM PDT, ID: 21457378

Rank: Genius

Yes, the Left function returns the Left-most n characters of the string

Left(String,n)  returns the left-most n characters of String.  That makes you Select Case much easier to read.

Notice also that I moved the line

testa.FontBold = True

outside of the Select Case block becuase that line is applied to EVERY case, so you really only need it at the end.

I will try to download your DB, and look at it, tonight, from home.

AW
 
04.28.2008 at 11:41PM PDT, ID: 21460051
Thanks Arthur the above post is very useful, did you guys have a chance to look at the database?

Thanks.
 
04.29.2008 at 04:12AM PDT, ID: 21461114

Rank: Genius

Having now had a chance to look at your database, I do not understand what you are trying to accomplish.  I looked at the Student you suggested, but when I try to change any entry in any day, nothing happens.  I also do not understand the design of the 'mainform'  - what forms are you using as sub-forms for each day - and why are they all different.  I also do not see any code behind any of the forms other than the tuesdaycommentform.  This is a very confused design.

Why don't you start by describing the nature of the problem that you are trying to solve, rather than asking for help with what appears to be a very cumbersome form.  There must be a cleaner design that you could use.

I have been doing this for more than 20 years, so I know what I am talking about.

AW
 
04.29.2008 at 04:29AM PDT, ID: 21461184
Hi Arthur,

This is my first attempt at an access database so the design could possibly be better. I dont doubt that you know what you are talking about. I will try to answer your questions above...

When the database is first run...
The background is basically from my 'startup' form a tutor can choose their classcode from a dropdown menu and assign comments to a student on that class (the add tutor comments button).

Each student is assigned a learning mentor, when the mentor runs the database they select the 'add mentor comment' button. They then select their name from the mentor select dropdown and then the 'mentor students' combo is populated with students that they mentor.

So the lecturer assigns the comments, the learning mentor can only view comments and everything else on their form except the 'learning mentor comments' box at the bottom where they leave there overall comment of how the student is getting on as a whole.

One of the major problems has been using tables from an external database, it is this database that provides the info such as attendance % and target grade.

There is only code behind the Tue comments form as i was trying to get this form to work first (as i knew it had data entered into it that would need a different text color depend