Solved

TdxDBGridLookupColumn

Posted on 2002-07-15
4
487 Views
Last Modified: 2010-05-19
I've been getting more and more irritated about this thing today, and I am close to throwing my keyboard out of the window. This, TdxDBGridLookupColumn of DevExpress's, I cannot by any means figure out how it's supposed to work.

I beg thee for a solution!
0
Comment
Question by:sageryd
  • 2
  • 2
4 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 7154719
thats easy

just define a lookupfield in your primary dataset,
assign the TdxDBGridLookupColumn to this lookupfield

thats all

just ask, if you don't know how to add lookupfield
-dblclick on the dataset-object
-rightclick on the fields-editor->add all fields
-rightclick on the fields-editor->new field
-fill out the entire dialog

meikl ;-)
0
 
LVL 1

Author Comment

by:sageryd
ID: 7154788
Cool!

Do you think you could explain what field goes where? I'm new to lookups. (you don't have to, I'm as happy without :)


Thanx!
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 7155254
well ok,

the dialog, where you define the lookupfield

Fieldproperties
- give a name, type and size(size only by stringtypes)

Fieldtype
- select lookup

Lookup Definition
-keyfield->select the name of the field, which should looked up, of your primary dataset
-dataset->select a dataset, where the data for the lookup come from
-lookupkey->lookupdataset field, which correspondens with your primary dataset keyfield
-Result Field->The field from the lookupdataset, which should displayed

hope its clear enough (ask if not),
thanks for the points :-)

good luck again

meikl ;-)




0
 
LVL 1

Author Comment

by:sageryd
ID: 7156456
Crystal clear! Thanx :o)



Have a nice day!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi - replicating a form 8 67
how to center only a line in richedit? 4 52
Strange behavior when a form is closed 6 51
Downloading email attachments 2 68
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now