Results 1 to 4 of 4

Thread: flexgrid memory error

  1. #1

    Thread Starter
    Hyperactive Member wolfrose's Avatar
    Join Date
    Aug 2002
    Location
    Indiana
    Posts
    309

    flexgrid memory error

    Is there a limit as to the number of cells you can have in a flexgrid? I keep getting a runtime error 30006: Unable to Allocate Memory for Flexgrid error. Is there a way around this, besides the obvious way of splitting up the flexgrid of course.

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Well... from my tests... you can make 175,000 rows of two columns...

    if you use 5 columns, your limited to 70,000 rows

    if you use 50 columns, your limited to 7000 rows

    500 columns, your limited to 700 rows


    so your answer is 350,000 cells... regardless what you put in them.

  3. #3

    Thread Starter
    Hyperactive Member wolfrose's Avatar
    Join Date
    Aug 2002
    Location
    Indiana
    Posts
    309
    I guess I should count it a blessing that the company I work for has outgrown the controls in VB

  4. #4
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    The important thing to remember is...

    the flexgrid is not a spreadsheet. And most people wouldn't peruse 350,000 cells... so it really wasn't a requirement to include such capacity in an on-screen control, because the capability exists to load data in and out from a behind-the-scenes array. And an array can hold as much information as the system memory can support.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width