Did you try directly using check app state or elemnet exists with some selector which includes your required customer names…then you can get the tablerow value using the get attribute if it is found and use that table row property in the next selector to click on the order form
For example…you selector for identifying name can be as below
<webctrl tag=‘tr’ tablecolumn =‘1’ innertext=‘can add variable here for passing each name’ />
And your next selector after getting tablerow property would be
<webctrl tag=‘tr’ tablecolumn=‘2’ tablerow=‘value obtained previously’ /> <webctrl tag=‘A’ />
Assuming there is only one link for each row…
Note: these are for illustration…actual selector might be little different
Hope this helps
Cheers