How do you cchange the colour of the back ground, ie the grey colour visiable when there are say only 2 rows.
Tony
Printable View
How do you cchange the colour of the back ground, ie the grey colour visiable when there are say only 2 rows.
Tony
Hi,Tony.If Data1.Recordset.RecordCount = 2 Then
DBGrid1.BackColor = &H80000004 'grey color
Else
Exit Sub
End If
Larisa