clear all values in Dbgrid1...
how to?
clear all values in Dbgrid1
-
- Administrator
- Posts: 78788
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: clear all values in Dbgrid1
I don't have the DBGrid control, so I can only guess. Perhaps
DBGrid1.Clear
or
DBGrid1.Rows.Clear
or
DBGrid1.ClearFields
or
Set DBGrid1.DataSource = Nothing
DBGrid1.Clear
or
DBGrid1.Rows.Clear
or
DBGrid1.ClearFields
or
Set DBGrid1.DataSource = Nothing
Best wishes,
Hans
Hans