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!

Unable to allocate memmory for flexgrid

Status
Not open for further replies.

Kadirpatel

Programmer
Mar 28, 2001
43
0
0
GB
Hi all,
I'm facing problem while displaying data in Flexgrid. The number of columns is 1 and I want to display 66392 rows in this flexgrid. But "Unable to allocate memmory for flexgrid" is thrown. Can any body let me know where I'm wrong. My code for the same is like this :
Code:
While Not rstAdoResultSet.EOF
    With grdTapeFileList
        .Rows = .Rows + 1
        .Row = .Rows - 1
                
        strError = IIf(IsNull(rstAdoResultSet.Fields("error_message").Value), "", rstAdoResultSet.Fields("error_message").Value)
                
        .TextMatrix(.Row, 0) = strError
     End With
     rstAdoResultSet.MoveNext
Wend
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top