Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Начинающим";
Текущий архив: 2007.04.15;
Скачать: [xml.tar.bz2];

Вниз

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 вся ветка

Форум: "Начинающим";
Текущий архив: 2007.04.15;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.042 c
1-1171978410
DelphiLexx
2007-02-20 16:33
2007.04.15
MessageBox


15-1174479101
ilopX
2007-03-21 15:11
2007.04.15
Изменение звука в Windows Vista


2-1174632240
WhiteWolf
2007-03-23 09:44
2007.04.15
Помогите разобраться с сокетами


15-1174296854
Jolik
2007-03-19 12:34
2007.04.15
Delphi for PHP


3-1169531185
валет
2007-01-23 08:46
2007.04.15
вопрос по MS SQL Server 2000





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский