先用:with adoquery2 do
begin
first;
while not eof do
begin
xpcombobox1.Items.Add(trim(Fieldbyname('name').AsString));
Next;
end;
xpcombobox1.ItemIndex:=0;
end;然后想进行选择时出现这个错误提示:
---------------------------
mainproject
---------------------------
Access violation at address 77F99A5C in module 'ntdll.dll'. Write of address 00404D29.
---------------------------
确定
---------------------------
怎么解决?????
begin
first;
while not eof do
begin
xpcombobox1.Items.Add(trim(Fieldbyname('name').AsString));
Next;
end;
xpcombobox1.ItemIndex:=0;
end;然后想进行选择时出现这个错误提示:
---------------------------
mainproject
---------------------------
Access violation at address 77F99A5C in module 'ntdll.dll'. Write of address 00404D29.
---------------------------
确定
---------------------------
怎么解决?????
http://www.1110.net/down.asp?UserID=397254