B
BADBOYNET
Unregistered / Unconfirmed
GUEST, unregistred user!
DesTable.Close;
DesTable.TableName := 'maindata1';
DesTable.Open;
//指定目的Table的IndexField.
DesTable.IndexFieldNames := DesTable.FieldByName('SN').FieldName;
BatchMove1.Destination := DesTable;
BatchMove1.Source := SourceMainData1;
BatchMove1.Execute;
大家帮忙看下上面的语句有什么问题呢?一调用TBatchMove的Execute方法就会报错
Destination must be indexed.
Table
小弟在些谢过先啦
DesTable.TableName := 'maindata1';
DesTable.Open;
//指定目的Table的IndexField.
DesTable.IndexFieldNames := DesTable.FieldByName('SN').FieldName;
BatchMove1.Destination := DesTable;
BatchMove1.Source := SourceMainData1;
BatchMove1.Execute;
大家帮忙看下上面的语句有什么问题呢?一调用TBatchMove的Execute方法就会报错
Destination must be indexed.
Table
小弟在些谢过先啦