J jhjs Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-23 #1 我在使用程序过程中,用控件DBCOMBOBOX1中,下拉过程中不能显示所有的数据。 如编号,只显示第一个编号,不知是否怎办?
天 天什 Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-23 #2 要想能显示所有的数据可以用DBLookupBomboBox控件
B blue girl Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-23 #3 使用SQL Monitor 跟蹤一下看從數據庫中取出的是 深麼數據
M mjy97 Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-23 #4 DBCOMBOBOX用于可以从固定字符列表中选择项目来作来字段的值,字符串列表要手工或编程(包括从库中检索)录入。 DBLookupBomboBox直接通过设定,自动从另一数据源中取字符串列表
斯 斯蒂芬 Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-24 #5 用DBLookupBomboBox 或用 DbBomboBox : while not table1.eof do begin dbcombobox1.Items.Add(table1.fieldbyname('xh').asstring); table1.next; end;
用DBLookupBomboBox 或用 DbBomboBox : while not table1.eof do begin dbcombobox1.Items.Add(table1.fieldbyname('xh').asstring); table1.next; end;