|
-
December 28th, 1999, 05:21 PM
#1
msflexgrid/mshflexgrid
Hi,
Does anybody have any idea about the maximum of rows and/or cols one can have in msflexgrid/mshflexgrid ?.I am trying to open a msflexgrid/mshflexgrid control based on the number of records in two different tables,as rows and cols respectively.The error I get is 'subscript out of range' or 'unable to allocate memory'(My rows are about 25000).Does anybody have a better suggestion?.Any help would be highly appreciated.
Thanks.
-
December 29th, 1999, 04:28 AM
#2
Re: msflexgrid/mshflexgrid
It depends on your computer configuration but number of cols are always limited. But you can solve your problem with huge amount of rows. You need to open recordset as ServerSide cursor then e.g. SQL Server will send you only thouse rows which you are able to show in grid in specified position which means 20 rows or so.
This is only way how to open large recordsets and doesn't matter how many MB of ram your computer actually have.
[ufo]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|