N
noiiy
Unregistered / Unconfirmed
GUEST, unregistred user!
请教:
怎么使用recordset的edit与addnew方法?
代码如下:
[blue]var a:imomaplayer;
b:imorecordset;
...
a:=imomaplayer(createoleobject('mapobjects2.maplayer'));
b:=a.records;
b.edit;//或者b.addnew;
...[/blue]
这时就会报错:"edit failed"或"addnew failed"
(mo的图层已经添加)谢谢!
怎么使用recordset的edit与addnew方法?
代码如下:
[blue]var a:imomaplayer;
b:imorecordset;
...
a:=imomaplayer(createoleobject('mapobjects2.maplayer'));
b:=a.records;
b.edit;//或者b.addnew;
...[/blue]
这时就会报错:"edit failed"或"addnew failed"
(mo的图层已经添加)谢谢!