Solved

TdxDBGridLookupColumn

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 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