CodeWidgets.com Online Source Code Library -ASP, ASP.NET, VB, VB.Net, Microsoft® Access, Javascript, VBScript, Website Design, Web Applications, Custom Programming Services Available.

 CodeWidgets.com ASP, ASP.NET, VB, VB.Net,
Microsoft® Access, Javascript, VBScript,
Website Design, Web Applications
Shopping Cart (0) Items $0.00      
 CodeWidgets.com
CodeWidgets.com

 

Website Stats to Date

Pages Viewed 4,360,602
Visitors 1,198,410
Widgets Viewed 2,984,586
Since January 1/2003
 
 
Active Users: 17
 

 
PayPal: Secure online payments!
 
Widget #CS0035

Alternate row colors on reports with Microsoft® Access

Alternate row colors on reports with Microsoft® Access

Send Link

Questions

Currency Conv.
  Widget Info  
Microsoft Access 97/2000
Copy and Paste the Code Below

Private m_RowCount As Long

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
m_RowCount = m_RowCount + 1
If m_RowCount / 2 = CLng(m_RowCount / 2) Then
Me.Detail.BackColor = 15263976 'Change value to the color you desire
Else
Me.Detail.BackColor = 14811135 'Change value to the color you desire
End If
End Sub
 Licensing
Format: Plug & Play Code
Copy the Source Code Above..
Licencing Terms: No Restrictions
Re-Distribution Permitted
This source code is provided to you "as is" without warranty
CLICK HERE FOR TERMS OF USE
Copyright 2002-2006 Comrie Software Solutions
 Related Widgets

Add new item to Combo Box when Not In List (Microsoft® Access)
Alpha-Tabbed Address Book for Microsoft® Access
Alternate colors on grid rows (ASP)
Alternate Subform/Datasheet row colors (Microsoft® Access)
Change Conditional Formating in code (Microsoft® Access)
Corrupted Access Database Repair
Corrupted Access Database Repair with Data Extractor.
Date Validation Function (Microsoft® Access,VB.6.0)
Enable/Disable Form Controls with Loop Code
Storing User Preferences in the Registry (Microsoft® Access)
Universal Navigation Buttons

ShoppingCart Empty
Services Contact Info Legal Info
Designated trademarks and brand names are the property of their respective owners.

By accessing this website it is assumed that you agree to the TERMS OF USE.

Send questions or comments regarding this website to  Comrie Software Solutions.

Click here for a complete list of available Widgets.