I'm trying to insert a record into a dbm file. One of the fields that I'm inserting contains a single quote, which seems to be causing an error.

An example of working and not working code:


...