delphi 导出数据时常常出现这样一个错误 《 RecordIndex out of Range 》 处理办法: 设定 cxGridDBTableView 的 GridModeBufferCount 值 pCxGridDBTableView.DataController.DataModeController.GridModeBufferCount = AdoQuery 的 RecordCount 即可。。。
RecordIndex out of range Module: cxCustomData, Source: cxCustomData.pas, Line 2232 Procedure: __linkproc__ InvalidOperation Call stack: :009DD57B [sme5.exe] __linkproc__ InvalidOperation (cxCustomData.pas, line 2231) :76D7B727 [KERNELBASE.dll] ...
I suggest that you enable the cxGrid1DBTableView1Column1.Properties.ImmediatePost property in this sample project. This should help the in-place editor immediately provide data for DataController. In addition, I am not sure that it is necessary to execute the following two code ...