Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FLEXGRID problem...

Status
Not open for further replies.

graphix03

Technical User
Oct 8, 2003
189
0
0
US
Hi, I have the code below.
everything else seems to work fine,
except when it comes to the check box.
it would stop at the check box and
error as type mismatch. what is wrong
with my code? any input would be greatly
appreciated.

private sub flexgrid_click()
Dim i As Integer
Dim x As Integer
x = flexgrid.Row
flexgrid.SelectionMode = flexSelectionByRow
With flexgrid
For i = 1 To x
txtSDate.Text = flexgrid.TextMatrix(i, 1)
txtEDate.Text = flexgrid.TextMatrix(i, 2)
chkbox1.value = flexgrid.TextMatrix(i, 3)
Next
End with
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top