mshflexgrid
I want to update data in my dbase III with values in mshflexgrid. When I do that, the dbase III compiler doesnâ t recognize this file as dbaseIII database any more. Is there something that I can do about this?
thanks
If .Fields(j).Name <> "" Then
If Not IsNull(MSHFlexGrid1.TextMatrix(i, j)) And (MSHFlexGrid1.TextMatrix(i, j)) <> "" Then 'if the grid value is null, set the field value to "" empty string
'.AddNew
.Fields(j).Value = CVar(MSHFlexGrid1.TextMatrix(i, j))
Else
.Fields(j).Value = Null
End If
End If
j = j + 1
.Update
|