Alternate Row Color in Crystal Report using VB.NET
This article shows how to develop reports with alternating row colors.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Alternate Row Color in Crystal Report using VB.NET

Jonatan RangelPosted May 6, 2011, 7:18 AM EDT
Hi, I have an VB.net 2008 application and I use reports made in Crystal Reports. I want to know how I can alternate row color in a Crystal Report using vb code. Does anyone can help me? My intention is to alternate row color selected by the user on runtime, so I need to know how to codify this. In the Crystal Report you can code this in the Details Section: "If RecordNumber mod 2 = 0 then crSilver else crNoColor" But this is hard code...I want to know how to set this dynamically since my VB application. I'd thank you any advice.