Вниз
Скачать: CL | DM;

ComboBox с таблицей   Найти похожие ветки 

← →
Tor ©   (2007-03-27 17:34) [0]

Доброго времени суток, All
Как можно реализовать выпадающий список в виде таблици из двух колонок, данные в списке беруться из таблицы БД ?

Спасибо.


← →
Desdechado ©   (2007-03-27 17:45) [1]

LookupField


← →
stone ©   (2007-03-27 17:52) [2]

ListField = Field1;Field2


← →
Tor ©   (2007-03-27 17:53) [3]

Мда исчерпывающий ответ :) А можно по подробнее?


← →
Tor ©   (2007-03-27 17:54) [4]

Спасибо, попробую.


← →
stone ©   (2007-03-27 17:57) [5]

Identifies the field or fields whose values are displayed in the lookup control.

Delphi syntax:

property ListField: String;

Description

The lookup control represents a field in one table by displaying the value of one or more corresponding fields in another table. ListField is the name of the field or fields in the lookup table that are actually displayed, as opposed to the DataField, which is the field in the DataSource that the lookup control actually represents, or the KeyField, which is the field in the lookup table with the same value as the DataField.

To fully specify the list fields, both a dataset for the lookup table and the fields within that dataset must be defined. The ListSource property of the lookup control specifies the dataset for the lookup table.

ListField can represent more than one field. Separate multiple field names with semicolons.

Before specifying ListField, specify the link between the two datasets using the KeyField property. If ListField is not set, lookup controls display KeyField field values by default. If the DataField field is a lookup field, don"t specify anything for ListField; the data controls automatically use the lookup field"s LookupResultField property as ListField.



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.46 MB
Время: 0.027 c
1-1171744798
Nicky000
2007-02-17 23:39
2007.04.15
Как сделать главное меню в нестандартной форме?


3-1169901600
Ёжик
2007-01-27 15:40
2007.04.15
Получение и вставка автоинкремента в той же процедуре


15-1174565419
kerell
2007-03-22 15:10
2007.04.15
Delphi программист (Москва) 2000$


2-1174828416
bagos
2007-03-25 17:13
2007.04.15
недоступная форма из-за циклов


15-1174387551
zdm
2007-03-20 13:45
2007.04.15
КААТАСТРОФФФААААА!!!, хэлп




   Наверх