logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > ASP
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 10-13-2008, 05:39 PM   #1
simpleton
 
Join Date: Oct 2008
Posts: 2
Default Conditional Formatting in my Update page?

I want to get conditional formatting (ie: colored rows) into my asp page.
I used this Multi-Update tut to get a cool update feature in my page..

So, now i don't know how to get an "IF" statement in there.
Here's my Repeat statement:

<%
Dim Repeat1__numRows
Dim Repeat1__index

Repeat1__numRows = -1
Repeat1__index = 0
rsFSDBNL_numRows = rsFSDBNL_numRows + Repeat1__numRows
%>


What should I do?
simpleton is offline   Reply With Quote
Old 10-17-2008, 04:59 PM   #2
simpleton
 
Join Date: Oct 2008
Posts: 2
Default

I never could find the answer, but I got a decent work-around...

My "Update" text field is either Update or Null/Blank.
So, all i did was just change the Text to Red.
Now when Update is visible, it's going to be Red.

It doesn't make for a pretty Row, but.. it does highlight the "Update" text.. which is what i wanted in the first place.
simpleton is offline   Reply With Quote
Old 10-17-2008, 08:33 PM   #3
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

you just qualified as our asp guru
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:18 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com