Solved

TdxDBGridLookupColumn

Posted on 2002-07-15
4
499 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

717 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