Solved

Lookup From A Grid

Posted on 1997-04-15
2
223 Views
Last Modified: 2010-04-06
I have three Dbf Files.  One is the master called IngredientsCategories.  The main index is ING_CAT it is character and is 40 long.  The second file is called Ingredientinformation.  This is the one that is for my Grid.  The third file contains a field called ING_MSRE.  I wish to look up from my Grid (ING_MSRE) and find ING_MSRE in IngredientMsres.  I can't seem to get it to work.  So, the first file is the MAIN data the one and the second is the many.  It's a one to many link.  So how do I read from the third file from a Data Grid?  What Keys do I use?  I have tried the creating a lookup field with the editor, this still will not work for me.  I don't quite see about the master key and the lookup key and the return value? Thanks
0
Comment
Question by:Andrew Harrison
[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 Comments
 
LVL 2

Accepted Solution

by:
javiertb earned 50 total points
ID: 1335405
You have to access the Fields Editor and create a new lookup field. Then you add this one to the DBGrid and whenever you step though this field column you'll have a list to chose from.
0
 

Author Comment

by:Andrew Harrison
ID: 1335406
Edited text of question
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

740 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