put your script parameter in quotes.
Better than using quotes--which does work--use this expression:
GetFieldname ( HANDOUT::lockrecord )
The advantage to using GetFieldName here is that if you go into Manage |Database and change the field or table occurrence name, the new Table occurrencename::fieldname will automatically be passed as your script parameter
THANK YOU SOO MUCH! Works like a charm!