This topic is locked

Comparative Rows

4/13/2010 9:56:04 AM
ASPRunnerPro General questions
E
erdinoxyz author

Hello

This my idea is possible?
Conditional Format Rows backround color.

///

If row dataValue(SchollName)= upperrow datavalue(SchollName) then

/// that is to say: if is rows and upperrows same///

rowscolor Red

Else

RowsColor blue

End if

/// to predent...
I to aim and purpose Color based Groupping at Scholl Name. in Student_List.asp
Thanks.

Sergey Kornilov admin 4/13/2010

Sure, you can use AfterRecordProcessed event for this purpose. More info:

http://xlinesoft.com/asprunnerpro/docs/change_row_background_color.htm
To access value of any field of the current record use data("fieldname")

More info of AfterRecordProcessed event:

http://xlinesoft.com/asprunnerpro/docs/after_record_processed.htm

hichem 5/5/2010



Sure, you can use AfterRecordProcessed event for this purpose. More info:

http://xlinesoft.com...round_color.htm
To access value of any field of the current record use data("fieldname")

More info of AfterRecordProcessed event:

http://xlinesoft.com...d_processed.htm


how can the value of the precedent row be accessed and evaluated if the current row is data("fieldname") what would the row before be?
Thanks
Hich

Sergey Kornilov admin 5/5/2010

I guess you can use the same AfterRecordProcessed event to store the value of any column in session variable i.e. add the following tot he very end of this event:

Session("fieldname") = data("fieldname")