Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 645
  • Last Modified:

HTML Conditional Formatting dbmail

I have a stored proc on sql 2005 server that sends out emails in html format.  It gets its data from a database view on the same server.  Everything currently works great and all emails get sent, however I would like to put some of the fields that it retrieves from my view in red if a condition is met.  

How can this be done?
0
H-SC
Asked:
H-SC
  • 4
  • 3
1 Solution
 
ralmadaCommented:
0
 
ralmadaCommented:
And for conditional formatting, check this other one:
http://www.arstdesign.com/articles/avs/conditionalformatting.html
 
0
 
H-SCAuthor Commented:
ralmada,

I currently have the email formated as html ad is working great.  I need to conditionally format that html to have the text be red if a condition is met on the field that gets pulled from the view.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
H-SCAuthor Commented:
ok, just got your last posting after I posted my reply.  I will take a look at the link...
0
 
H-SCAuthor Commented:
ralmada,

I am going to go with the last one....  Many thanks for your help with this one.
0
 
H-SCAuthor Commented:
ralmada,
Applied the code from the last site that you sent and worked perfect!  thanks for sending me in the right direction
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now