Hey, folks!

I thought I would experiment with the Search object as a means to search text for my company's product documentation. I seem to be running into a problem, possibly with how I'm using a Fast Loop...

Here's how I have things set up now:

1.) When a button is pressed, start Fast Loop "Search".
2.) On Loop "Search", if "Text is found" (a condition of the Search object), then do the following:
2 a.) "Add 1 to Total Search Hit" (a Global Value)
2 b.) In a List View object, Insert Line of String("Total Search Hit"), and set item for column 2 to the "Search Filename" (as found by the Search object).
2 c.) Search object: Find the next hit for the search term.


Upon running this, I see that items are being listed to the List View object (as a vertical scroll bar appears), but when the Fast Loop ends, there is no data in the List View object; it's as if somehow it's not saved or being deleted.

Any idea what I might be doing wrong?

Thank you!


RGBreality

EDIT: On a related note, I am also having a hard time determining how many times the Fast Loop should run. After all, I don't know how many hits will occur.