sSQL := 'INSERT INTO testtable(Name,OtherID,Number,Notes) VALUES ("Some Name",4,587.6594,"Here are some notes");';
sldb.ExecSQL(sSQL);
sSQL := 'INSERT INTO testtable(Name,OtherID,Number,Notes) VALUES ("Another Name",12,4758.3265,"More notes");';
sldb.ExecSQL(sSQL);
我在程序中执行了这两句!但是从数据库中读数据的时候出错!数据库中记录是两个!但是两个都是"Some Name",4,587.6594,"Here are some notes" 而且以后不管写入多少不同数据,读出来都是"Some Name",4,587.6594,"Here are some notes" 这条记录!这是怎么回事呢?
------解决方案--------------------------------------------------------
呵呵,你没有循环记录集,没有移动记录指针