Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Databases > DbGrid - derefe...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 973 of 985
Post > Topic >>

DbGrid - dereferencing data/lookup data

by simonkolomyjec@[EMAIL PROTECTED] Oct 11, 2007 at 05:37 PM

Hi,

I have a dbgrid which displays an integer reference to a record in
another table. What i would like to do is instead of the integer
number display a corresponding field in the other table (e.g. Name) in
place of this integer in the grid. I would also like to be able to
edit the data in this cell using a drop down pick list which displays
the all possibilities (records) in the other table and when one is
selected it actually stores the reference in the db table but displays
the other field (Name) in the grid instead. I am using a TDBAdvGrid
and can get the drop down pick list displayed, however i cannot
display the 'dereferenced' data in the cell, it just displays the
Integer reference number.

Any help appreciated

Thanks
Simon
 




 1 Posts in Topic:
DbGrid - dereferencing data/lookup data
simonkolomyjec@[EMAIL PRO  2007-10-11 17:37:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 6:29:50 CDT 2008.