IIM Loop Pagenation?

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
erikcw
Posts: 34
Joined: Sun Nov 13, 2005 5:08 pm

IIM Loop Pagenation?

Post by erikcw » Sun Nov 13, 2005 5:22 pm

Hi All,

I have developed a macro that loops through my database and updates all the records.

The problem is that only 50 records are displayed at a time, and then there is a page link
record1
recod2
record50

Page 1 2 3 4 5
How do I make the macro go to page 2 [or 3 or whatever next page] after the macro has looped through all the records on that page?

Also, right now I just have the loop set to 60 (to make sure I get all the records). This however throws an error when it tries to go to work on a non-existent record (51, 52, 53...). Is there a way to count how many elemnts are on the page and loop accordingly?

Thanks!
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Mon Nov 14, 2005 10:25 pm

Post Reply