Nevermind...error foiund
I have put the following formula in the Message Tool, and running it does nothing even though there are records meeting the condition.
IF [Referencia 1] = '00000' THEN 'Error in ID# ' + ToString([_RecordNumber_]) else [Referencia 1] ENDIF

