• Post Reply Bookmark Topic Watch Topic
  • New Topic

Method - HELP!  RSS feed

 
Naf Rash
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just wanted to ask, I have the following method which is invoked somewhere else. I am using the eclipse development environment and have used breakpoints to see exactly where the code is not being 'followed' by the program. I know that the method is getting invoked. It works up until the first for loop and then from what I can see just goes to the brace ending the method. Can you think why this may be?
 
Tom Blough
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the loop is not being executed, it is because theRowCount is 1 or less.
Set a breakpoint on the for line, and see what the value of theRowCount is before entering the loop.
Tom Blough
 
Naf Rash
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suspected as much but I always think no, it couldn't be that- I always assume the worst of things. So thanks- its nice when someone gets back to you- especially when its something as simple as this- it doesn't seem to be worth spending a day crying over. Thanks a lot!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!