This one has my juices flowing.
The left side of the equals is an assign and the find is on the right side, therefor I believe the no-error goes with the assign. (someone correct me if I'm wrong).
Try this instead:
The left side of the equals is an assign and the find is on the right side, therefor I believe the no-error goes with the assign. (someone correct me if I'm wrong).
Try this instead:
Code:
bh:find-first("....") no-error.
if bh:available then do:
........
end.
else do:
........
end.