If it wasn't clear, this script would perform the check row-by-row. Check for [text] in field A, and if that specific text is present, print [other text] in field B on the same row.
"Print" prints records, not fields. Perhaps I'm not understanding this correctly . . .
Sorry. I was thinking in another language. ;) I just can't find its equivalent in the scripting syntax.
By "print" I mean I wish to enter a text string in the corresponding field.
In this case, if "Apple" is found in Field A, then enter the text "Yes" in field B.
Field B could be defined as a calculation field that evaluates as "yes" when Field A = "Apple".
But a scripted approach might be:
Enter FInd Mode 
Set Field [YourTable::FieldA ; "Apple"]
Set Error Capture [on]
Perform FInd 
Replace Field Contents [No dialog ; YourTable::FieldB ; "Yes" ]
Many thanks for the solutions. The script solution worked like a charm.
I'm curious about the first solution you mentioned (using a Calculation). I'm going to explore that as well.
I've got a long way to go, so perhaps you could point me toward a learning/training resource that addresses scripting solutions similar to this?
Regardless, thanks a million. This got me going in the right direction.
Field B could be defined as a calculation field with text as a result type:
If ( FieldA = "Apple" ; "Yes" )
It could also be a text field with an auto-entered calculation.