// Table1.IndexFieldNames:='A1';加了这句就出错:access violat idodbc32.dll
Table1.setkey;
Table1.first;
while not Table1.eof do
begin
testString:=Table1.FieldByName('A1').AsString;//= ArrayString[i];
Write(f,testString); if (0<>pos(testString,s)) then
Table1.Delete;
Table1.next;//报错:multiple records found,but only one was expected,并且停留在这里,应该是上一句执行得有问题
end;
Table1.setkey;
Table1.first;
while not Table1.eof do
begin
testString:=Table1.FieldByName('A1').AsString;//= ArrayString[i];
Write(f,testString); if (0<>pos(testString,s)) then
Table1.Delete;
Table1.next;//报错:multiple records found,but only one was expected,并且停留在这里,应该是上一句执行得有问题
end;
解决方案 »
- 一个包里面的单元文件如何引用另一个包里的单元件,DELPHI提示要把,包转化成DCP,然后包加入该DCP。
- 恳请赐教
- 如何将string转为char
- 如何设置参数?
- Delphi中向access数据库中添加数据出现insert into语法错误,帮帮忙吧
- 求教:有关DBGridEh的问题……
- 一个调查,给分200。(关心一下大家的健康状态,大家每天坐着,都锻炼不?)
- 高手请指教!
- idhttp能否自己控制读取?实在对不起。我没分啊。哪位大哥帮一下我。我急用
- 菜鸟的问题:stringGrid scrollbox splitter控件各是干什么的?
- 一个简单但很急的问题,在线等,解答立即给分
- 有无人是做医院信息系统的?或者在医院信息科工作的?我想问个奇怪问题!
where expressoin