HorstTappert
01-14-2005, 07:27 AM
hi there,
does anyone know how many rows a flexgrid can handle? i have a recordset with about 5000 records and there are only 370 added to the grid....
fast help needed!
thanks a lot.
btw: i didnt find any information on this on the net! is that possible??
here is the code:
----------------------------------------------------
i% = 0
Do Until rs.EOF
i% = i% + 1
rs.MoveNext
Loop
Debug.Print "Records in RS: " & i%
Set grdNamespaces.DataSource = rs
DoEvents
Debug.Print "Records in Grid: " & grdNamespaces.Rows
------------------------------------------------------
results:
Records in RS: 5071
records in grid: 370
thanks for the help!
matthias
does anyone know how many rows a flexgrid can handle? i have a recordset with about 5000 records and there are only 370 added to the grid....
fast help needed!
thanks a lot.
btw: i didnt find any information on this on the net! is that possible??
here is the code:
----------------------------------------------------
i% = 0
Do Until rs.EOF
i% = i% + 1
rs.MoveNext
Loop
Debug.Print "Records in RS: " & i%
Set grdNamespaces.DataSource = rs
DoEvents
Debug.Print "Records in Grid: " & grdNamespaces.Rows
------------------------------------------------------
results:
Records in RS: 5071
records in grid: 370
thanks for the help!
matthias