table.first while not talbe.eof do begin combobox1.items.add(table.fieldbyname('yourfieldname')); end; combobox1.itemindex:=0;
ComboBox1.Clear; table1.first; while not table1.eof do begin ComboBox1.Items.add(Table1.FieldByName('字段字句').asString); Table1.Next; end;
来晚了 ComboBox1.Clear; table1.first; while not table1.eof do begin ComboBox1.Items.add(Table1.FieldByName('字段字句').asString); Table1.Next; end; combobox1.itemindex:=0;
while not talbe.eof do
begin
combobox1.items.add(table.fieldbyname('yourfieldname'));
end;
combobox1.itemindex:=0;
table1.first;
while not table1.eof do
begin
ComboBox1.Items.add(Table1.FieldByName('字段字句').asString);
Table1.Next;
end;
ComboBox1.Clear;
table1.first;
while not table1.eof do
begin
ComboBox1.Items.add(Table1.FieldByName('字段字句').asString);
Table1.Next;
end;
combobox1.itemindex:=0;