Solved

TdxDBGridLookupColumn

Posted on 2002-07-15
4
491 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 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