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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

datagrid

Status
Not open for further replies.

makisbest

Technical User
Mar 3, 2005
125
GR
Hi all

What the datagrid1.index do?

Is there anywere any manual for datagrid1

Thank you
 
The Index property is relevant when DataGrid1 is an array of datagrids and lets you reference a specific datagrid element in that array.

MSDN help that ships with VB6 provides lots of datagrid documentation.
 
Can I ask whene i access my data in a for next loop
the datagrid jump lines

p.s. my step is 1
 
If the datagrid is bound to the recordset, then as you move from row to row within the recordset, the current record changes and so does the currently selected row in the datagrid. As Microsoft would say, this is 'by design'.
 
If you use a recordset clone, then you can usually move with-in the cloned recordset with out the position of the Datagrid's recordset being affected:

Dim rsclone as adodb.recordset

set rsclone=rsYourDataGridRecordset.Clone
or
set rsclone=rsYourADODC.Recordset.Clone
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top