VBForums
>
Visual Basic
>
Visual Basic 6 and Earlier
> dbgrid
PDA
Click to See Complete Forum and Search -->
:
dbgrid
Jan 18th, 2000, 07:21 PM
How do you cchange the colour of the back ground, ie the grey colour visiable when there are say only 2 rows.
Tony
LG
Jan 18th, 2000, 08:45 PM
Hi,Tony.If Data1.Recordset.RecordCount = 2 Then
DBGrid1.BackColor = &H80000004 'grey color
Else
Exit Sub
End If
Larisa
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.