Forum Discussion
tristaanogre
7 years agoEsteemed Contributor
How did you implement it? What's your code? As I mentioned in my post, what I posted was JUST to give the concept. I can't debug your code if I don't know what you wrote.
msap
7 years agoFrequent Contributor
Thanksalot Martin! I changed the rowIndex to the value i which I used in for Loop.
It retrives only one record instead I have two records with same date, any other changes to it .
for(i=0;i<=Grid.wRowCount-1;i++)
{
var dateString = Grid.wValue(i, "Created Date");
if (aqString.Find(dateString, FormatStr, 0, false) != -1) {
Log.Message(FormatStr + "FormatStr" + "' was found in string '" + "dateString")
//var foundRow = i;
break;
}
else Log.Message(" no date found")
}
}
- tristaanogre7 years agoEsteemed Contributor
If you want it to find and log all dates, simply remove the "break" line.
Related Content
- 9 years ago
- 4 years ago
Recent Discussions
- 2 days ago
- 2 days ago