Thursday, December 4, 2008

Have a different color for newly inserted row

In the expression painter, code the following for the Background expression :
IF ( IsRowNew(), 1090519039, Long(Describe("datawindow.color")))
where 1090519039 is the regular window color.
Using the same idea, to make existing data read-only and newly inserted editable, code the following in the Protect expression :
IF ( IsRowNew() , 0 , 1 )

No comments:

Custom Search