I re-did the IF cursor arrow ELSE END IF statements and it is working now as far as writing one of the log records. I may have forgotten to update the error log file for that command from the network share to my local folder for testing. But the results are now just inconsistent and so unreliable - sometimes it indicates it sees an arrow, other times it does not. Checking for a cursor change still seems to be the most reliable option.