P panjf Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-03 #2 用循环读取字段值 combobox1.Items.add(字段值);
Z zhengbo Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-03 #3 for i := 0 to Table.Fields.Count - 1 do CombBox.Items.Add(Table.Fields.FieldName);
N nosaysorry Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-03 #4 for i:=0 to table1.RecordCount-1 do begin combobox1.Items.Add(table1.Fields.Fields[n].AsString); table1.next; end; 其中n为表中的字段序列号。
for i:=0 to table1.RecordCount-1 do begin combobox1.Items.Add(table1.Fields.Fields[n].AsString); table1.next; end; 其中n为表中的字段序列号。
S sffgw Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-18 #8 for i := 0 to Table.Fields.Count - 1 do CombBox.Items.Add(Table.Fields.FieldName); 这个方法试用成功。我接收了,谢谢上面的兄弟:)
for i := 0 to Table.Fields.Count - 1 do CombBox.Items.Add(Table.Fields.FieldName); 这个方法试用成功。我接收了,谢谢上面的兄弟:)