Escape data when creating SQL query to clone a form.