1. studenttable:=mydata.dsstudent.dataset as tdbdataset;
2. gradetable:=mydata.dsgrade.dataset as tdbdataset;
3 .studenttable.close;
4 .studenttable.open;
5 .updrectypes:=[rtinserted];
6. studenttable.updaterecordtypes:=updrectypes;mydata 是 data module ,dsstudent 是 datasource
1)行出错:
信息如下:
project project1.exe raised exception class EAccessviolation
withmessage'Access violatio at address oo47E566module'project1'
Read of address 00000050'.process stopped.use step or rum to continue.
2. gradetable:=mydata.dsgrade.dataset as tdbdataset;
3 .studenttable.close;
4 .studenttable.open;
5 .updrectypes:=[rtinserted];
6. studenttable.updaterecordtypes:=updrectypes;mydata 是 data module ,dsstudent 是 datasource
1)行出错:
信息如下:
project project1.exe raised exception class EAccessviolation
withmessage'Access violatio at address oo47E566module'project1'
Read of address 00000050'.process stopped.use step or rum to continue.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货