Hi
I'm using the MSFlexGrid control to display results based on text box and combo box inputs from the user. This works fine. I have a refresh button so the MSFlexGrid clears the results and text boxes to allow the user to imput some new options.
The problem is that althought the grid clears the data, it doesn't display the next results from the top position. It displays the new results half way down the grid (where the last ones stopped), so the user gets a load of blank lines and they have to scroll to the start of the next results.
Is there a way of going back to the top of the grid so that the new results will be displayed there?
Private Sub cmdRefresh_Click()
MSFlexGridResults.Clear
cboNWork.Text = ""
txtStart.Text = ""
txtEnd.Text = ""
cboNWork.SetFocus
End Sub
Any help would be fantastic!
Nora
I'm using the MSFlexGrid control to display results based on text box and combo box inputs from the user. This works fine. I have a refresh button so the MSFlexGrid clears the results and text boxes to allow the user to imput some new options.
The problem is that althought the grid clears the data, it doesn't display the next results from the top position. It displays the new results half way down the grid (where the last ones stopped), so the user gets a load of blank lines and they have to scroll to the start of the next results.
Is there a way of going back to the top of the grid so that the new results will be displayed there?
Private Sub cmdRefresh_Click()
MSFlexGridResults.Clear
cboNWork.Text = ""
txtStart.Text = ""
txtEnd.Text = ""
cboNWork.SetFocus
End Sub
Any help would be fantastic!
Nora