I have a data entry form where user can enter details to be added into a MSFlexGrid; which is contained in another separate form. The data are supposed to be updated on a new row of the grid each time the Add button is clicked. Here is what I have so far
Expand|Select|Wrap|Line Numbers
- Private Sub cmdAdd_Click()
- Dim i As Integer
- i = 0
- If chkDisplayTable.Value = 1 Then
- frmDisplayTideGrid.Show
- Else
- frmDisplayTideGrid.Hide
- End If
- With frmDisplayTideGrid
- With .GridTide
- .TextMatrix(i, 0) = txtDate
- .TextMatrix(i, 1) = txtHour & ":" & txtMin
- .TextMatrix(i, 2) = txtTide
- End With
- End With
- End Sub
Thank You in advance.