For read all data from defined field to comboBox I use this :
Code: Select all
i:=1;
while i <= ZQuery1.RecordCount do
begin
ComboBox1.Items.Append(ZQuery1.fieldByName('gvyrobca').AsString);
ZQuery1.Next;
i:=i+1;
end;
Combobox1.ItemIndex:=0;