Delphi 2.0 - Access 7.0 - sql statements

When using the tquery object I sometimes get an error if I use an
incorrect parameter name.  When I try and fix the sql statement with the
string list editor, it returns the same error code and erases the new
changes I entered into sql statement.  The only way I can get out is to
close everything and start over.