Solved

TdxDBGridLookupColumn

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 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

14 Experts available now in Live!

Get 1:1 Help Now