Results 1 to 4 of 4

Thread: MSHFlexGrid .Rows ERROR

  1. #1

    Thread Starter
    Fanatic Member eimroda's Avatar
    Join Date
    Jul 2000
    Location
    Philippines
    Posts
    642

    MSHFlexGrid .Rows ERROR

    I have been using the MSHFlexGrid and it just worked fine with me. Just recently I met an error when I set the .Rows of it to 0. It caused a runtime error that says "Method Rows Failed..." (something like that). My code is
    VB Code:
    1. MSHFlexGrid1.Rows = 0
    On Error GoTo Hell

    Hell:
    Kill Me


    Food For Thought:

    - Do not judge a book... if you're not a judge!


  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    not positive..but I believe you have to have at least 1 row
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3

    Thread Starter
    Fanatic Member eimroda's Avatar
    Join Date
    Jul 2000
    Location
    Philippines
    Posts
    642

    tnx!

    I need to clear the grid. My problem really is that it is intermittent. My other call to that method (property actually) worked just fine. As I have observed, the error appears when there MANY rows in the grid. But i just don't know really the limit or where that MANY rows starts. I tried putting 500 rows in the grid then resets the .Rows property to 0. Other calls worked fine, but others had that error. I am really confused
    On Error GoTo Hell

    Hell:
    Kill Me


    Food For Thought:

    - Do not judge a book... if you're not a judge!


  4. #4
    Lively Member
    Join Date
    Aug 2002
    Location
    India
    Posts
    97

    Thumbs up Eimroda is right

    The error is not exactly reproducible. I got the same error, but it is not consistent.
    I did get the error with 500 rows. but I did not get the error at 5000 or 50000 rows.
    I think we may need to check the known issues if any, or we need to check the limitations of the MSHflexgrid
    \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
    Dont quote anyone if you can help it -
    THM
    /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

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