Hi, what is the reason that this doesn't work Put revOpenDatabase(tQuery) into tResult Tquery contains "SQLite","/Applications/Revolution Enterprise/3.0.0-rc-3/test.db",, The error stack "x": execution error at line n/a () near "revdberr,syntax error" Thanks, Hershel