本人用Delphi7开发一个程序,利用到ADOTable、TDataSource、TADOConnection、TADOQuery等数据库组件,以及一个串口控件Spcomm。串口空件接收到数据后,添加到数据库中。程序运行还算正常,但有时会随即提示错误:
List index out of bounds(11)
或:List index out of bounds(41)
或:List index out of bounds(51)
或:List index out of bounds(61)
或:List index out of bounds(95)
点击“OK”后,程序又恢复正常,且数据库条目没有发生错误。所有的数组都不可能越界。请问这是什么问题?不胜感激
List index out of bounds(11)
或:List index out of bounds(41)
或:List index out of bounds(51)
或:List index out of bounds(61)
或:List index out of bounds(95)
点击“OK”后,程序又恢复正常,且数据库条目没有发生错误。所有的数组都不可能越界。请问这是什么问题?不胜感激
解决方案 »
- 关于ComboBox
- Borland Socket Server 能监听2个网卡的某一个端口吗 ???
- 如何利用delphi来使桌面图标文字透明呢?【高分请教高高手……】
- DELPHI中webservice能否主动向客户端发送信息呢,或者客户端请求后能否保持链接呢?
- "求救",请问哪里有Ehlib3.0 for Delphi7.0解密版下载!!!
- 我在DELPHI 6中还会出现这个问题,不知道大家还有没有?///
- 在dbimage中怎樣顯示jpeg之類的圖象
- 求 WaveCom 短信收发程序,请联系报价
- 一个开发客户端遇到的问题
- 关于Table和Query的问题
- 请问TQuery控件怎样做到直接编辑?
- C#通过ODBC访问Delphi自带的数据库(paradox),不支持中文字段?
try except
on E: Exception do
begin
Memo1.Lines.Add(Format('%s[%d][%s]', [E.Message, 行号, '文件名']));
end;
end;
导致index有偏差
我只是猜测阿