Hi
'TSQLquery' is based on TBufDataset, i.e.: it inherits the ability to act like a 'TClientDataset'.
I think 'CreateDataset' stems from TBufdataset, but what you want to use is actually a SQL database, with 'TSQLquery', thus it wants you to fill in the 'TSQLquery.Sql.Text' with a "CREATE TABLE IF NOT EXIST Sometablename ..." statement and the call ExecSql;
HTH
Regards Benny