SMIG - sorry to sound so stupid here, but where does this get placed? When I put this in the SQL window and try to save (before I start editing) it comes back with an error stating it is an invalid SQL statement and is needing either a DELETE, INSERT, PROCEDURE, SELECT or UPDATE.