Datagrid current row ?
- From: "Luqman" <pearlsoft@xxxxxxxxxxxx>
- Date: Tue, 27 Sep 2005 18:48:43 +0500
I have put following in Click of Command Button in VB-6.
Private Sub DataGrid1_Click()
a = Me.DataGrid1.Columns(1).Value
MsgBox a
End Sub
When I run the project, and click on Row No. 2, it gives me value of 1st
Row, and then I click on Row No. 5, it gives me value of Row No. 2 and so
on.
It means, whenever I click on any new row, it gives me the value of last
visited row, instead of the current row, what am I missing please ?
As there is no textmatrix like flexgrid, how can I retrieve the Current Row
Number on which I clicked so that I can bookmark and retrieve the value.
Best Regards,
Luqman
.
- Follow-Ups:
- Re: Datagrid current row ?
- From: Richard T. Edwards
- Re: Datagrid current row ?
- Prev by Date: Re: DataGrid
- Next by Date: Re: Call a VB Project from another VB Project
- Previous by thread: Active Accessibility question
- Next by thread: Re: Datagrid current row ?
- Index(es):