04-05-2016
05:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-05-2016
05:22 PM
Jeff,
From the help in the iLogic, the FindRow command will find the row that mets the condition and change to that row if found.... if not, it sets i=-1. So the error check at the end is so that if i=-1, it will give a message that something went wrong.... otherwise it assumes it completed successfully and continues.
If I comment out the line "rowName = iPart.RowName(comp.Name)".... I then get the error of:
"iPart.CurrentRowValue("Cutlength"): This function was called without a previous call to iPart.ChangeRow or iPart.FindRow.
Maybe there is a way to avoid this, but I am not sure.
Kirk