A AoZei Guest Oct 26, 2005 #1 <b>Hi all, can Access highlight the selected rows in table just like the spreadsheet in Excel?? Many thanks,
<b>Hi all, can Access highlight the selected rows in table just like the spreadsheet in Excel?? Many thanks,
A AoZei Guest Oct 26, 2005 #2 Sorry, I meant, can Access highlight individual rows in table by changing the backgound color just like the spreadsheet in Excel??
Sorry, I meant, can Access highlight individual rows in table by changing the backgound color just like the spreadsheet in Excel??
W WIS Registered User. Local time Tomorrow, 07:05 Joined Jan 22, 2005 Messages 170 Oct 26, 2005 #3 AoZei said: Sorry, I meant, can Access highlight individual rows in table by changing the backgound color just like the spreadsheet in Excel?? Click to expand... Have done this in a report. This gives alternate rows of white and yellow, and on a laser printer the yellow shows as light grey. You should be able to apply similar to a form. Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) Dim fColour As Boolean Const WHITE = 16777215 Const YELLOW = 65535 If fColour Then Me.Detail.BackColor = WHITE Else Me.Detail.BackColor = YELLOW End If fColour = Not fColour End Sub
AoZei said: Sorry, I meant, can Access highlight individual rows in table by changing the backgound color just like the spreadsheet in Excel?? Click to expand... Have done this in a report. This gives alternate rows of white and yellow, and on a laser printer the yellow shows as light grey. You should be able to apply similar to a form. Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) Dim fColour As Boolean Const WHITE = 16777215 Const YELLOW = 65535 If fColour Then Me.Detail.BackColor = WHITE Else Me.Detail.BackColor = YELLOW End If fColour = Not fColour End Sub