Paul Zwarts writes: > ... bad request exception from SQL method ... This error indicates, that an input parameter was not provided. The error value gives the list of all missing input parameters. I would suggest, you replace your "SQL method" (the complete "dtml-in") with "<dtml-var REQUEST>" and analyse what form variables do arrive. Dieter