🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi.bazy-danych
Article #70259

Re: Dwa pola jako jedno

#70259
From: Kviat
Date: Sun, 01 Jul 2007 07:53
30 lines
1927 bytes
Buster napisał(a):
> Witam.
> No i znowu potrzebuję pomocy. Podejrzewam, że to będzie banał, ale nie 
> mogę wymyśleć. Otóż mam komponent TDBLookUpComboBox. Tam jest takie 
> właściwości jak ListField i KeyField. W polu ListField wybieramy pole, 
> które ma się wyświetlać, a w KeyField pole, z którego będą brane dane. 
> Wszystko oki, ale co zrobić, żeby na liście było np kompletne imię i 
> nazwisko, gdy w bazie mam to rozdzielone jako dwa oddzielne pola??
> 

ListField +F1

The lookup control represents a field in one table by 
_displaying_the_value_of_one_or_more_ corresponding fields in another table.

ListField can represent more than one field. Multiple field names should 
be separated by semicolons.

Jak będziesz miał za wąską listę żeby zobaczyć więcej niż jedno pole to 
ustaw odpowiednią szerokość
DropDownWidth

W JvDBLookupCombo (JVCL)
masz jesze takie coś:
ListStyle
FieldsDelimiter
i parę innych udogodnień

Pozdrawiam
Piotr
Technical Details
Message-ID: <f67mqu$bqs$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <f66lm4$bhb$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Kviat <kviat@NIE_DLA_SPAMUfantastyka.com.pl>
Newsgroups: pl.comp.lang.delphi.bazy-danych
Subject: Re: Dwa pola jako jedno
Date: Sun, 01 Jul 2007 09:53:30 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 30
Message-ID: <f67mqu$bqs$1@nemesis.news.tpi.pl>
References: <f66lm4$bhb$1@inews.gazeta.pl>
NNTP-Posting-Host: ajg250.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1183276702 12124 83.25.240.250 (1 Jul 2007 07:58:22 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sun, 1 Jul 2007 07:58:22 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.12 (Windows/20070509)
In-Reply-To: <f66lm4$bhb$1@inews.gazeta.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit