C
com2
Unregistered / Unconfirmed
GUEST, unregistred user!
用Asta控件中客户端在formcreate中写入下面的代码,连astabdeserver
AstaClientDataSet1.Open ;
caption:=inttostr(AstaClientDataSet1.RecordCount);
AstaClientDataSet1.First;
caption:=caption+' '+AstaClientDataSet1.FieldByName('custno').asstring;
到 AstaClientDataSet1.First就出错了,说是AstaClientDataSet1没打开,为什么?
我应该怎么处理?
AstaClientDataSet1.Open ;
caption:=inttostr(AstaClientDataSet1.RecordCount);
AstaClientDataSet1.First;
caption:=caption+' '+AstaClientDataSet1.FieldByName('custno').asstring;
到 AstaClientDataSet1.First就出错了,说是AstaClientDataSet1没打开,为什么?
我应该怎么处理?