Solved

Lookup From A Grid

Posted on 1997-04-15
2
225 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
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…
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…

696 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