Process an entire sql script SQL commands/statements finish with the 'go' directive.
'go' must be alone on a line (may be padded with whitespace)
The database object to run the script against, or Nothing if using an ODBC database
The connection object to run the script against, if dbs is Nothing
The script text
(no description)
(no description)
The open recordset to which to write errors. Use the shared error log by preference, but on occasion the local error log is used where the back end database may be offline.
The tag to be written to the error log
(no description)
Set recs = xf.DbConnect.OpenDAORecordset("xf_tblErrorLogLocal")
WereErrors = Scripter.ProcessScript(sqlStr, dbs, cn, recs, "Test Script")