I am starting a new thread on the problem of a string being truncated to 256 chars when used in an 'opendataset' method. I really need to find out how to get a string longer than 256 to be processed. I have a database DB, a recordset RS and a string sSQL. sSQL is assigned from a multi-line text box. I then execute a command db.openrecordset(sSQL). If the len(sSQL) <= 256, then the query is executed correctly.....if the len(sSQL) > 256, then I get various errors telling me that I have an invalid SQL statement. In the error message, it shows the sql statement that it thinks I sent it....however, it is always truncated after character 256. Maybe this is truncated sql statement is due to the MsgBox statement used to show the error.....but in all cases, if the len(sSQL) > 256, then I get errors......What am I missing.....surely, 256 characters is not a limit on a string for an SQL statement. Any help would make me crazy with happiness!