My apologies, I was in a hurry yesterday and should have given more detail.
The problem is that you have notes that have action code set in their Display Expression†. This code is stored in the system attribute
DisplayExpression, which by local convention we refer to as $DisplayExpression—i.e. contextually the attribute or its current value.
The DisplayExpression attribute is an ‘action’ type, which is itself a special form of String type, so the default is ‘no value’ which for this type is an empty string.
Before looking at where/how we rest the attribute, check how many notes if have the issue:
- #1 if only one note , we can just edit that note.
- If more than one, check if the notes are:
- #2 using a prototype that sets the Display Expression, or were. In the case of a prototype, we’ll want
*#3 created by an OnAdd or agent’s action that set the Display Expression code.
In the case of #2 we first check/reset the prototype’s Display Expression. Then/otherwise we select all notes with the ‘bad’ Display Expression and reset it by any of the methods below (in no particular order)
Method 1: Text Inspector
Open the Text Inspector, selecting the ‘Title’ sub-tab:
Now select and delete all content in the large box labelled `Display Expression’. This should fix the problem—at least for the notes you’ve edited.
Method 1: Quickstamp Inspector
Use shortcut ⌘+2 or Open the Properties Inspector, selecting the 'Quickstamp ’ sub-tab:
Select all the affected notes. In the top search box of the Inspector type
DisplayExpression and press they Return key. This will auto-select $DisplayExpression as the target of the Inspector’s changes.
Now click the key shown:
And see the result:
Then, click the Apply button. You can close the Inspector, the task is done.
Method 3 Use a stamp (action code)
Make a stamp. Open the Stamps Inspector, and add a new stamp. Call the stamp “Reset Display Expression”. In the stamps’ code box, enter this code‡:
Click out of the code box. The stamp is ready to use.
Leave the Stamps Inspector open and select all the affected notes. Now, on the Stamps Inspector, the ‘Reset Display Expression’ stamp is selected and click the Apply button.
Note, you could use an agent to find affected notes and the agent action to reset their Display Expression. But, until you’re more comfortable with how the Display Expression system works, one of the above are the best approach.
I hope that helps.
†. What does a Display Expression do? See my article on Display Expressions.
‡. Using code
=; to reset an attribute - see more on setting the default and re-setting inheritance.