I hope you have a back up copy that you made before you imported your records. This will save you a lot of trouble. The add note script requires a valid contact ID number in the current record. When you import contact data from another source such as an Excel file, no contact number is assigned to the newly imported records unless you click the "enable import options" check box that pops up when you import the records.
The simplest fix is to open a back up copy of your DB and re-import the records, this time selecting that specific checkbox.
Otherwise you have to place the contact ID field (I forget the exact name in the contact manager database), find all contact records where this field is blank, (enter an = in the ID field) and then use replace field contents to enter a serial number in all the records where this field is blank, again selecting the "update entry options" check box to make sure the next new record gets a unique ID number.
PS. The only reason I know what you're talking about is that others have posted the same issue after importing data into the FMP contact manager template. It really helps to identify the template you are using so that any responders have a clue as to what you are talking about. :smileywink: