|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
How can I clean a DBGrid in DAO
I have this routine and it does not work
Sub ClearGrid() Dim i As Integer Dim j As Integer With DBGrid1 For i = 0 To .Row - 1 For j = 0 To .Col - 1 .Row = i .Col = j .Text = "" Next j Next i End With End Sub |
|
#2
|
||||
|
||||
|
I think the DBGrid has a .Clear or .Clean method (can't remember which one it is).
Also, is the DBGrid a bound control or is it set to a recordset? |
|
#3
|
|||
|
|||
|
This DBGrid is unbound but I solve this isue inventing some codes. This issue es done.
Thank you very much for your response |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > How can I clean a DBGrid in DAO |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|